Extension:SyntaxHighlight PrismJS

MediaWiki extensions manual
SyntaxHighlight PrismJS
Release status: unknown
Author(s) apple502j
Latest version 1.0.0
MediaWiki
License GNU General Public License 3.0 or later
Download

The SyntaxHighlight PrismJS extension provides syntax highlighting using prism.js.

Installation edit

  • Download and place the file(s) in a directory called SyntaxHighlight PrismJS in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SyntaxHighlight PrismJS' );
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also edit

  • SyntaxHighlight for the syntax highlighter used on Wikimedia wikis using Pygments.