Fork me on GitLab

Code Higlighting, Color Preview, Line Numbers, More ...

When you need a code highlighter JS library, Prism.js comes to rescue. Not only like full-markdown processor with in-built code-highlighting like Pygments or Rouge in Jekyll. Prism.js is purely for code highlighting. This is a very powerful library which allows: skinning, multi-language, line numbers, line highlight, go to line, copy button, execute code button, preview colors / transitions / commands in code, dos specific highlighting. It’s cool - and needs only a JS file plus pre HTML tag only.