Quick poll… When writing blogs or articles, what do you use to nicely format code snippets as HTML? I am particularly curious if anyone found an Eclipse plugin that simply exports the style that’s visible in the Eclipse editor rather than trying to implement parsing and styling on its own.
Subscribe to:
Post Comments (Atom)
3 comments:
I use Syntaxhighlighter from http://alexgorbatchev.com/wiki/SyntaxHighlighter because what we blog about is usually a mix of Java, XML, plaintext and shellscript.
If anything you need something that replaces the < and > with < and >
Not an eclipse plugin but good anyway: Use highlight[1] to format your source code. The tool supports different programming languages as well as different output formats, XHTML is one available format.
[1] http://www.andre-simon.de/
I use the syntax highlighter in my blog and then a custom plugin I have which adds the tags to xml & java code
Post a Comment