Format Eclipse Code Snippets For Blog Publishing?
Solution 1:
Eclipse based solutions
Use the Java2Html plugin (this is maybe the plugin you were referring to):
This tool converts Java source code to HTML, XHTML and LaTeX with syntax highlighting.
There is also the CodeSnippet plugin:
CodeSnippet is a set of Eclipse plug-ins to convert Ant, Java, Properties, CSS, DTD, HTML, and XML source code (complete files or snippets) to HTML with syntax highlighting
Non Eclipse based
Use the online Source Code Formatter for Blogger, Blogspot, Blog & Blogging, Format Formatting Tool:
Source Code Beautifier And Formatter For Blogger and Websites, Format Source Code , Format Source code for blog or blogging & website, Online line source code formatter tool, blogger code format tool, Format source code for blogspot,Insert formatted source code
Solution 2:
Although I don't know of such plug-ins, but generally pasting the syntax-highlighted text into Word or OpenOffice maintains its formatting, so using their HTML export (possibly the one of OpenOffice is useful here, as it provides simpler result, AFAIK).
Solution 3:
The Copy as HTML eclipse IDE plugin allows us to directly copy our code as HTML and paste it to our blogs or forums without any formatting.
Steps to install the plugin:
Download the Copy as HTML eclipse plugin Copy it to the 'dropins' folder of your eclipse installation If 'dropins' folder is not present then copy it to the 'plugins' folder of your eclipse installation Restart eclipse IDE That's it
Post a Comment for "Format Eclipse Code Snippets For Blog Publishing?"