[vtkusers] cmake language syntax highlighting added to wiki

David Doria daviddoria+vtk at gmail.com
Wed Jan 6 17:21:38 EST 2010


FYI anyone writing wiki pages -

On the Kitware wiki's, 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 vtkusers mailing list