
You can highlight your code on the fly, and have the highlighted output in a format supported by source-highlight (e.g. HTML, LaTeX, Texinfo, etc.). You can then save the formatted output to a file, or copy and paste it.
A preview of the highlighted output is available for some output formats (HTML and XHTML).