Extension:SyntaxHighlight PrismJS

Category:Pages to be expanded#SyntaxHighlight%20PrismJS Category:Extensions without an imageCategory:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
SyntaxHighlight PrismJS
Release status: unknownCategory:Extensions with invalid status
Author(s) apple502j
Latest version 1.0.0
MediaWiki Category:Extensions without MediaWiki version
License GNU General Public License 3.0 or later
Download Category:Extensions in GitHub version control
Category:All extensions

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

Installation

  • 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' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also

  • SyntaxHighlight for the syntax highlighter used on Wikimedia wikis using Pygments.
Category:All extensions Category:EditPage::showEditForm:initial extensions Category:Extensions in GitHub version control Category:Extensions with invalid or missing type Category:Extensions with invalid status Category:Extensions without MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:Pages to be expanded Category:ParserFirstCallInit extensions