Highlight is a source code to formatted text converter. It generates HTML, XHTML, RTF, ODT, LaTeX, TeX, SVG, BBCode and terminal escape sequences with coloured syntax highlighting. Language definitions and colour themes are Lua scripts and support plugins
C++ Prettify is a GNU sed script that is used to convert C++ source code into a chroma-coded HTML format suitable for use with most blogging sites and inclusion into other HTML documents.
s2html is a C/C++/Java/Lisp HTMLsource code converter.
s2html is a very simple C/C++/Java/Lisp HTMLsource code converter. It uses embedded CSS to format your code. Many other formatters exist, this one started its life back in 1983 as my very first C program.