Code to HTMLon January 20th, 2012 at 11:48 am
In the course of writing this blog, I’ve found it a pain to format my code into nice HTML. Thereby it not displaying very nicely, as pointed out by the ‘Angrier Coder’ in a previous post.
Hopefully I will now be able to address this problem, having written a quick utility to help me do it.
There’s a TextBox on top, this is where you paste your code (or drag and drop from your code).
As soon as that is populated, the HTML equivalent appears in the WebBrowser control below. You can then use the ‘Copy HTML’ button to put it onto the clipboard.
Source code here: