Quantcast
Channel: AJavascript
Viewing all articles
Browse latest Browse all 10

Prism: new, lightweight & extensible syntax highlighter

$
0
0

Prism is a new lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s a spin-off from Dabblet and is tested there daily by thousands.

Prism features:

  1. Dead Simple – include prism.css and prism.js, use proper HTML5 code tags (code.language-xxxx), done!
  2. Light as Feather - The core is 1.5KB minified & gzipped. Languages add 0.3-0.5KB each, themes are around 1KB.
  3. Extensible - Define new languages or extend existing ones. Add new features thanks to Prism’s plugin architecture.
  4. Intuitive – Language classes are inherited so you can only define the language once for multiple code snippets.
  5. Blazing fast – Supports parallelism with Web Workers, if available.
  6. Easy styling – All styling is done through CSS, with sensible class names like .comment, .string, .property etc

Link: Prism


Viewing all articles
Browse latest Browse all 10

Trending Articles