[vtkusers] Examples on the wiki, this is how to highlight the relevant lines

Francois Bertel francois.bertel at kitware.com
Fri Jan 29 11:56:19 EST 2010


Hello,

The following GeSHi highlighting package is available on the vtk wiki,
see the documentation here:
http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi

It allows to highlight some lines in the code.

For example, I just changed the PointSize example code section to
start with <source lang="cpp" highlight="24"> to tell the wiki to
highlight code line number 24.

You can see the result here:
http://www.vtk.org/Wiki/VTK/Examples/Visualization/PointSize

Cheers.

-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtkusers mailing list