There is an Emacs package called htmlize that can be used to export to HTML any fontified Emacs buffer, including font-locked programming modes of course.
In reply to Emacs fontified buffer => HTML
by calin
in thread On-the-fly all-languages syntax highlighting
by gmax
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |