Extension:SyntaxHighlight

SyntaxHighlight, formerly known as SyntaxHighlight_GeSHi, is an extension that adds syntax highlighting based on the Pygments syntax highlighting library.

Parameters

 * : The code's language to determine the highlighting algorithm. For a full list of supported languages, see the Pygments documentation.
 * : Enables line numbers.
 * : Starting number for the line numbers, if  is enabled.


 * : Comma-separated list of lines to add background highlighting.
 * : Display the code block inline with surrounding text.
 * : Adds CSS classes to the code block to allow for additional styling.
 * : Adds inline CSS styles to the code block.

lang
Result:

line
Result:

start
Result:

highlight
Result:

inline
Result: