en

“My Syntax Highlighter PRO” is a premium WordPress plugin that provides a simple way for embedding syntax-highlighted source code within pages or posts on your website, without losing it’s formatting or making any manual changes. Supporting 153 languages, 121 shortcodes and 55 themes. The syntax highlighting feature implemented via a CodeMirror library. This is a “PRO” version of the plugin “My Syntax Highlighter”. More features, more power.

Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. Syntax highlighting 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 also uses standalone Shortcode-Processor to prevent WordPress from converting newlines to HTML paragraphs, replacing apostrophes with typographic quotes and so on.

This plugin is just plug and play, no tedious configurations or hacks, just install, enable and start using your new shortcodes.

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)
  • Compatible with all WordPress themes
  • RTL compatible (right to left)
  • Translation ready

Key features include…

  • Standalone Shortcode-Processor
  • Syntax highlighting (by CodeMirror)
  • Line numbering
  • Dollar sign before line
  • 55 Themes (all provided themes from CodeMirror)
  • 153 Languages (all provided languages from CodeMirror)
  • 121 Shortcodes
  • Allow shortcodes in the text widget
  • Programming language selection option
  • Loading CodeMirror files on pages only when needed
  • Well documented
  • And much, much more!

A list of supported languages:

Click to view language examples. Highlighted with Default theme.

A list of supported shortcodes:

  • [code][/code]
  • [php][/php]
  • [javascript][/javascript]
  • [js][/js]
  • [xml][/xml]
  • [html][/html]
  • [css][/css]
  • [scss][/scss]
  • [less][/less]
  • [sass][/sass]
  • [markdown][/markdown]
  • [perl][/perl]
  • [sql][/sql]
  • [mysql][/mysql]
  • [shell][/shell]
  • [bash][/bash]
  • And many many more shortcodes!

A list of supported themes:

  • 3024 day
  • ABCDEF
  • 3024 night
  • Ambiance mobile
  • Ambiance
  • Base16 dark
  • Base16 light
  • Bespin
  • Blackboard
  • Cobalt
  • Colorforth
  • Dracula
  • Duotone dark
  • Duotone light
  • Eclipse
  • Elegant
  • Erlang dark
  • Gruvbox dark
  • Hopscotch
  • Icecoder
  • Idea
  • Isotope
  • Lesser dark
  • Liquibyte
  • Lucario
  • Material
  • MBO
  • MDN-like
  • Midnight
  • Monokai
  • Neat
  • Neo
  • Night
  • Oceanic next
  • Panda syntax
  • Paraiso dark
  • Paraiso light
  • Pastel on dark
  • Railscasts
  • Rubyblue
  • Seti
  • Shadowfox
  • Solarized
  • SSMS
  • The matrix
  • Tomorrow night bright
  • Tomorrow night eighties
  • TTCN
  • Twilight
  • Vibrant ink
  • XQ dark
  • XQ light
  • Yeti
  • Zenburn

Translation

This plugin is ready for translation and has already been translated into several languages.

  • English (default)
  • Russian (translation by Milena Kiseleva)
  • German (translation by Michael)
  • Spanish (translation by Patricio Toledo)

If you want to help translate this plugin then please visit the translation page.

Minimum system requirements:

  • PHP version 5.3 or higher.
  • MySQL version 5.0 or higher.

Recommended system requirements:

  • PHP version 7.0 or higher.
  • MySQL version 5.6 or higher.