We'll create fresh WordPress site with Prism Syntax Highlighter for WordPress installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Despite two plugins already on wordpress.org I decided to write my own from scratch. The result is a minimalistic but powerful plugin with only ~250 lines of PHP.
<code class="language-xxx"> and <pre class="language-xxx">
for bash, css, js, markup, php, scss. (I can make a filter if you want to add more.)[prism]
shortcode.prism
handle to enqueue the pre-registered script and style.Bundled Prism Version (2016-09-17)
Link: http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+bash+less+php&plugins=line-highlight+line-numbers+wpd+show-language
Skin: Okaida
Languages
Plugins