SyntaxHighlight

From Leo's Notes
Last edited on 25 May 2020, at 04:00.

The plugin being used is from http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi Terminal code uses a custom pygment.

Usage[edit | edit source]

To use SyntaxHighlight on this wiki, use the Highlight template.

{{highlight|lang=terminal|code=
code goes here
}}

If you wish to limit the height, add:

style=max-height:350px;overflow:scroll;