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
s2html is a C/C++/Java/Lisp HTML source code converter.
s2html is a very simple C/C++/Java/Lisp HTML source 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.