Extension:SyntaxHighlight PrismJS
From Linux Web Expert
<translate> Please [[<tvar name=1>Special:EditPage/Extension:SyntaxHighlight PrismJS</tvar>|expand]] this page.</translate> |
SyntaxHighlight PrismJS Release status: unknown |
|
---|---|
Author(s) | apple502j |
Latest version | 1.0.0 |
MediaWiki | |
License | GNU General Public License 3.0 or later |
Download | GitHub:
<translate> Note:</translate> |
Quarterly downloads | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
Public wikis using | Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin'). |
The SyntaxHighlight PrismJS extension provides syntax highlighting using prism.js.
Installation
- <translate> Download and place the file(s) in a directory called <tvar name=name>
SyntaxHighlight PrismJS
</tvar> in your <tvar name=ext>extensions/
</tvar> folder.</translate> - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'SyntaxHighlight PrismJS' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
See also
- SyntaxHighlight for the syntax highlighter used on Wikimedia wikis using Pygments.
Categories:
- Pages with script errors
- Pages with broken file links
- Pages to be expanded
- Extensions with invalid status
- Extensions without an image
- Extensions with invalid or missing type
- Extensions without a compatibility policy
- Extensions without MediaWiki version
- GPL licensed extensions
- Extensions in GitHub version control
- ParserFirstCallInit extensions
- All extensions