CodeMirror Blocks

0

CodeMirror Blocks is useful for developers blog, tutorial site where to display formatted (highlighted) code of any program. It supports 100+ Programming, Scripting and MarkUp Language,

Version
Last updated
Active installations
WordPress Version
Tested up to
pa_languages
Rating
Total ratings
Tags

Description

CodeMirror Blocks is useful for developers blog, tutorial site where to display formatted (highlighted) code of any program.
It supports 100+ Programming, Scripting and MarkUp Language, with 56 Different Themes.

The Code Block is dependent on a CodeMirror library.

Formatted Code Block is like (syntax highlighting feature) that displays source code, in different colors and fonts according to the category of terms. It is one strategy to improve the readability and context of the text; especially for code that spans several pages. The reader can easily ignore large sections of comments or code, depending on what they are looking for.

This plugin is just plug and play, no tedious configurations or hacks, just install, activate and start using block inserter.

New features include

  • (New) Control Panel Added on top of the Code Block.
    ** It displays language/filename.
    ** It also display three buttons, includes Run/Execute, FullScreen, Copy Code.
  • (New) Web editor (Execution of HTML, CSS JavaScript block) With CodeMirror Block 1.1
  • (Updated) Code block is now CodeMirror Block 1.1
  • (New) Option Page for set default options
  • (New) Highlight Active Line (now available on CodeMirror Block 1.1)
  • (New) CodeMirror Block 1.1 now support Block align (Wide Width, Full Width) if your theme Supports.
  • (New) Classic Editor Support (Partial)

Features

  • Lightweight and fast
  • Secure code with using clear coding standards
  • Intuitive interface with many settings
  • Cross browser compatible (work smooth in any modern browser)
  • Works also on android mobile browser
  • Compatible with all Default WordPress themes (tested with Latest Twenty Twenty)

Key features include

  • Code syntax highlighting
  • Line number (On/Off) option
  • 56 Themes (all provided themes from CodeMirror)
  • 100+ Programming languages (all most provided languages from CodeMirror)
  • Programming language selection option
  • Loading CodeMirror files on pages only when needed

A list of supported themes:

  • 3024 day
  • 3024 night
  • Ambiance mobile
  • Ambiance
  • Base16 dark
  • Base16 light
  • Blackboard
  • Cobalt
  • Colorforth
  • Eclipse
  • Elegant
  • Erlang dark
  • Lesser dark
  • Liquibyte
  • MBO
  • MDN-like
  • Midnight
  • Monokai
  • Neat
  • Neo
  • Night
  • Paraiso dark
  • Paraiso light
  • Pastel on dark
  • Rubyblue
  • Reactjs.org Theme
  • Solarized
  • The matrix
  • Tomorrow night bright
  • Tomorrow night eighties
  • TTCN
  • Twilight
  • Vibrant ink
  • XQ dark
  • XQ light
  • Zenburn

Credits

  • This Plugin use CodeMirror library to highlight Code Blocks. CodeMirror is an open-source project shared under the MIT license.