Extension:SyntaxHighlight PrismJS
Appearance
Please help expand this page. |
Release status: unknown |
|
|---|---|
| Author(s) | apple502j |
| Latest version | 1.0.0 |
| MediaWiki | |
| License | GNU General Public License 3.0 or later |
| Download | GitHub:
Note: |
The SyntaxHighlight PrismJS extension provides syntax highlighting using prism.js.
Installation
[edit]- Download and place the file(s) in a directory called
SyntaxHighlight PrismJSin yourextensions/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.
