in

jetlounge

the minty fresh blog that whitens your teeth!


Syndication


How Do You Get That Code So Pretty in a Blog Post?

by David Leibowitz | December 30, 2007 | Comments: 0

I use the following tools, all free..

Visual Web Developer 2008 Express Edition
SQL Server Express Management Studio
Visual Basic 2008 Express Edition

Paste a code snippet in any of the applications above and you'll get some friendly color coding. Then simply copy and paste into MS Word, or directly into your blog post.

Then top it off with Noah Coad's Word add-in. You can get it here. This is pretty basic and simply adds a shaded frame behind your code in MS Word. Note that the code he pictures in his blog is slightly different than the code available on his download page and will actually cause an error.

Line 11 of FormatCodeBlock() simply has an End statement. It should read:

End if

del.ico.us digg this technorati BlinkList Furl reddit DotNetKicks google! live Facebook Stumble Upon Yahoo!



Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Non-Commercial Edition), by Telligent Systems