We'll create fresh WordPress site with Syntax Highlighter with PrismJS installed. You have 20 minutes to test the plugin after that site we'll be deleted.
A syntax highlighter using PrismJs.
Wrap your pre tag as shown below:
[sh_prismjs_pre class="language-py line-numbers match-braces rainbow-braces" data_line="1,4-5,7" escape_html='escape'] <pre> class Implements_Ne: ''' A class which implements the __ne__ method ''' def __ne__( self, other): return False class Not_Implements_Ne: ''' A class which does not implement the __ne__ method ''' pass </pre> [/sh_prismjs_pre]
For code tags, they also should be wrapped as follows:
[sh_prismjs_code class="language-html" escape_html='escape']<code>tag: <br/></code>[/sh_prismjs_code]
You must use the language-Name option, and you can use the escape_html option.