[Mediawiki-l] Escaping highlighting tags

David Doria daviddoria at gmail.com
Fri Oct 1 15:37:00 UTC 2010


Hi all,
I am trying to make a template which contains syntax highlighting.

I made a template:

http://www.vtk.org/Wiki/Template:VTKCMakeLists

I then tried to use this template with:
{{VTKCMakeLists|Thing1|Thing2}}

But you can see here:
http://www.vtk.org/Wiki/VTK/Sandbox/UseCMakeListsTemplate

that it does not trigger the source code to be highlighted, but rather
actually includes the source tag as part of the text on the page.
Is there any way to do this?

Thanks!

David


More information about the MediaWiki-l mailing list