MediaWiki:Sitenotice: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
(I think this notice has been up long enough. Most of its text is now visible on Special:RecentChanges.)
(Temporarily put this up here as well (this should be taken down in a few days).)
Line 1: Line 1:
-
Any sort of code posted onto the wiki can now be syntax highlighted using the <nowiki><syntaxhighlight></nowiki> tag. It will default to perl, but can be changed to other languages. For example <nowiki><syntaxhighlight lang="sql"></nowiki>. More documentation is at [[mediawikiwiki:Extension:SyntaxHighlight_GeSHi]].

Revision as of 15:52, 19 March 2014

Any sort of code posted onto the wiki can now be syntax highlighted using the <syntaxhighlight> tag. It will default to perl, but can be changed to other languages. For example <syntaxhighlight lang="sql">. More documentation is at mediawikiwiki:Extension:SyntaxHighlight_GeSHi.