Difference between revisions of "Syntax highlight"
From OPOSSEM
(Created page with "Wikipedia:Syntax_highlighting is a useful way to display a programming language or code on a wiki page. The {{SITENAME}} wiki uses a [[mediawikiwiki:Extension:SyntaxHighligh...") |
|||
Line 1: | Line 1: | ||
− | [[Wikipedia:Syntax_highlighting|Syntax_highlighting]] is a useful way to display a programming language or code on a wiki page. The {{SITENAME}} wiki uses a [[mediawikiwiki:Extension:SyntaxHighlight_GeSHi|syntax highlighting extension]] to facilitate the highlighting of programming languages or scripts. | + | [[Wikipedia:Syntax_highlighting|Syntax_highlighting]] is a useful way to display a programming language or code on a wiki page. The {{SITENAME}} wiki uses a [[mediawikiwiki:Extension:SyntaxHighlight_GeSHi|syntax highlighting extension]] to facilitate the highlighting of programming languages or scripts. A partial list of supported languages can be found on the [[Mediawikiwiki:Extension:SyntaxHighlight_GeSHi#Supported_languages|extension support page]]. |
− | |||
− | |||
In addition to the above list, [[Wikipedia:R_Statistics|R code]] can be highlighted by using the syntax <nowiki><syntaxhighlight lang=rsplus> </syntaxhighlight></nowiki> | In addition to the above list, [[Wikipedia:R_Statistics|R code]] can be highlighted by using the syntax <nowiki><syntaxhighlight lang=rsplus> </syntaxhighlight></nowiki> |
Latest revision as of 10:10, 8 July 2011
Syntax_highlighting is a useful way to display a programming language or code on a wiki page. The OPOSSEM wiki uses a syntax highlighting extension to facilitate the highlighting of programming languages or scripts. A partial list of supported languages can be found on the extension support page.
In addition to the above list, R code can be highlighted by using the syntax <syntaxhighlight lang=rsplus> </syntaxhighlight>