markdown-js
markdown-js copied to clipboard
Code Syntax Highlight
It would be nice to add a minimalist <code/>
syntax highlight like the one available in most of markdown editors using the code type like
{
"key": "I'm a json"
}
when turning a ````` into a <pre/><code/>
element. A good example is the ACE editor that gives support for most of languages. Another great code highlight tool is Highlight.js.
To support a specific language typically a class will be inferred like in the above example <pre><code class=json">