About this plugin
WP Markdown Syntax Sugar work in conjunction with plugins such as wp-markdown
js. Markdown is fantastic markup for easily
js is an extremely easy way to highlight
code examples. js automatically detects the proper language for a block of code. In certain
js could improperly detect the language that you are using;
that is where this plugin comes into play. By adding one line to your code blocks, you can explicitly set the language
js to properly format your code.
The concept is inspired by the wp-markdown-syntax-highlight
plugin.
The usage is extremely simple. Just add a shebang as the first line of your code example with the language you are using.
" end end
The shebang is removed, and the code is outputted as:
" end end</code></pre>
js to do its magic, and the code snippet will be properly
highlighted.