Sorry, we don't support your browser.  Install a modern browser

Article Example with Code Syntax Highlight Support#131

It will be great to have article with code syntax highlight support for programming blog. Example like Evil Martians’s blog

a year ago

Hi Khai, we have a “code snippet” component, but it comes with no syntax highlight:

Syntax highlight is tricky because the plugin should run through all the words, and wrap them in <span> elements with specific classes. It would require tons of work to analyze all kind of languages, and there are a few open-source plugins that do this:

We’ll look into this though, thanks for submitting your idea ;)

a year ago