Extension:HighlightJS
From Organic Design wiki
We've been using GeSHi for our syntax highlighting for ten years now, and today I decided it was time to change to a client-side version instead. So I looked around on the net a bit and found a free open source one that I liked which was highlightjs.org, and made a quick wrapper for it which is this extension. It allows the same syntax to be used as normal, e.g. <source lang="LANG">. For more information about installation and usage, see MW:Extension:HighlightJS.
See also
- highlightjs.org - Home page of the JS highlighter
- CodeTidy - a utility to format code in accord with the MediaWiki code guidelines