royallthefourth / CodeHighlightBolt

Code highlighting extension for Bolt CMS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code Highlight

Code Highlight highlights code syntax in any part of your Bolt site.

This extension uses highlight.js See the documentation for more details on usage or the demo for a list of supported languages.

This extension adds CSS and JS to all of your pages to provide highlighting. You can use this anywhere by adding <pre><code> tags to a piece of content:

<pre>
    <code class="html">
        <p>this will be highlighted</p>
    </code>
</pre>

About

Code highlighting extension for Bolt CMS

License:MIT License


Languages

Language:JavaScript 83.4%Language:CSS 16.2%Language:PHP 0.4%Language:Makefile 0.1%