Syntax Highlighting with Prism.JS on Blogger.com
To enable syntax highlighting using Prism.JS. Insert the following code at the end of the header of your Blogger theme.
To include code in the blog, switch to html and insert the following code:
<pre class="lang-bash"><code> #This is programming code for shell script #!/bin/bash </pre></code>
For more language code please refer to the end of the main page of Prism.JS.
Post a Comment