Compatible with DokuWiki
Similar to codeprism
This plugin replaces DokuWiki's built-in syntax with a JavaScript based approach using Prism.js.
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
By default this plugin override builtin <code>
and <file>
tags. You can change this in DokuWiki settings.
You can see Prism JS in action here.
<code html> ... </code>
<file py> ... </file>
Full list of available languages can be found on prismjs site.
After plugin installation two new options will appear in your Configuration Manager in section Dokuprism:
By default both are enabled which mean that PrismJS will be used for both tags.