Prism – A lightweight, extensible syntax highlighter

Javascript / Added on August 22, 2012 / Add to favorites

Prism is a new lightweight (Only 1.5KB minified & gzipped), extensible syntax highlighter, built with modern web standards in mind. Other highlighters encourage users to use elements that are semantically wrong, like <pre> (on its own) or script>. Prism forces you to use the correct element for marking up code: <code>. On its own for inline code, or inside a <pre> for blocks of code.