Provide syntax highlighting for code blocks powered by Prism.JS.
To load this plugin from raw HTML:
<script>
CMS.loadExtra('prismjs', {
theme: 'light|dark|auto',
lineNumbers: true|false
});
</script>
OR to load this plugin from a layout:
<% CMS.loadExtra('prismjs', {theme: '...', lineNumbers: ...}); %>
theme
- The theme to use for PrismJS (light, dark, auto)lineNumbers
- Enable line numbers for code blocksN/A
Render any preformatted code block with the language specified ala Github style.
N/A