Thursday, June 14, 2007

Formatted Code in HTML

If any of you noticed my last XNA post was in a formatted code form, I used a code to HTML converter, which I was able to generate with the help of a cool little macro that I found on Coding Horror. This is a macro for Visual Studio 2003 .NET but I'm pretty sure it'll work on other versions like 2005. Check out the post on the details on how to set this up for yourself.

2 comments:

Zygote said...

Great find EvoC :) It would be nice if the code didnt word wrap tho :)

Ziggy
Ziggyware XNA News and Tutorials

Steve said...

Yeah, it's hard to keep code readable and HTML friendly, but this seems to be a good quick and dirty solution.