Provide syntax highlighting for code blocks powered by Prism.JS.
To load this plugin, add the following to the extras block in your
config.php or
theme settings.php:
'extras' => [
// ...
'prismjs' => [
'theme' => 'light|dark|auto',
'lineNumbers' => true|false,
],
// ...
],
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