node-prismjs

Lightweight, robust, elegant syntax highlighting

Description

A spin-off project from Dabblet. Some of its unique features include:
 * It’s tiny. The core is only 1.5KB minified & gzipped.
 * It’s incredibly extensible. Not only it’s easy to add new languages, but
   also to extend existing ones.
 * It encourages good author practices. Other highlighters encourage or even
   force you to use elements that are semantically wrong, like <pre> (on its
   own) or <script>. Prism forces you to use the only semantically correct
   element for marking up code: <code>.
 * One of its best features: The language definition is inherited. This means
   that if multiple code snippets have the same language, you can just define
   it once, in one of their common ancestors.
 * It looks good. All three of its existing themes.
 * It supports parallelism through Web Workers, for better performance in
   certain cases.
 * It doesn’t force you to use any Prism-specific markup, not even a
   Prism-specific class name, only standard markup you should be using anyway.

Node.js is an event-based server-side JavaScript engine.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/LeaVerou/prism


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install node-prismjs