CodeThings

Things i discover during my everyday life of trying build some decent code.

I have my own consulting company, Eqa, in which a assist companies in developing web applications based on various microsoft.net technologies.

Tuesday, October 14, 2008

Code markup in Tech blogging

Anybody who knows a good tool for tech blogging - especially for making code markup?

Often it is necessary to include a peace of code in this blog, but the result looks awful. The only posible way to make some kind of format is to encapsulate the code in <code> blocks. An alternative way is to use some of the tools avaliable on the net (e.g. http://delphi.fosdal.com/2008/07/source-code-highlighting-in-blogger.html) but that requires a lot of cut/paste.

I just want a simple windows application that supports rich text and pasting of code. Somebody must have made this!

Any suggestions?

-- 2008 10 22 Update --
Today MSDN Magazine, october 2008 arrived in my mailbox. On page 12, in the Toolbox article, several diferent tools for colorcoding source is mentioned. My favorite is this one:
http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/

Its a plugin to Visual Studio that integrates into the context menu, providing a "Copy as HTML" link.

1 comments:

dannyv40 said...

I use wordpress.com with the "code" tag if I don't need to preserve white space or "pre" tag if I want to preserve white space. On the other had, worpress.org has more features/plugins for code markup but wordpress.org is not free.