Highlighting+Code+and+Converting+the+html

Purpose of this Page
This page provides details on a couple of methods of converting cpp source files to colourized html.

Use Codeblocks Export
The easiest method of accomplishing this is to simply use the Codeblocks export plugin. It supports html, odt and rtf format as well as pdf.



This works well but is not a scriptable solution. To convert large numbers of files gnu [|source-highlight] provides a good solution. I have written a script file that allows converting all source files in a directory to html.