Skip to content

A basic integration of the prism library.

David Valdez requested to merge prism into master

I tried to use our current library but it seems that the build is broken:

https://github.com/syntaxhighlighter/syntaxhighlighter/issues/428

So, instead, I switched to PRISM which seems to be more popular nowadays.

This module basically just adds the prism.js and the prims.css on our page, so we can just use it directly using this syntax:

<pre>
  <code class="lang-php">
  </code>
</pre>

And it looks like this:Screen_Shot_2019-01-14_at_7.01.41_PM

Merge request reports