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.