[Insight-users] cmake language syntax highlighting added to wiki

David Doria daviddoria+itk at gmail.com
Wed Jan 6 18:21:01 EST 2010


I forgot to include the ITK folks on this email, so here it is:

FYI anyone writing wiki pages -

On the Kitware wiki, you can now use:

<source lang="cmake">
... cmake code here ...
</source>

(versus the old <source lang="text"> or manual syntax highlighting )

This looks much nicer than plain text, and is must less painful than
manual syntax highlighting.  I know many of the Paraview wiki pages
(http://www.cmake.org/Wiki/Plugin_HowTo#Writing_Plugins) use manual
syntax highlighting - should I update them to use lang="cmake"?

A comparison with plain text is here (for a few days - before I remove
the old text-only version):
http://www.vtk.org/Wiki/Distance_between_two_points

Thanks,

David D.


More information about the Insight-users mailing list