There is an easy way to make source code snippets look great on your blog. You have to change your template once and after that you can just surround your code with a simple tag. One thing you must not forget to do is to "escape" your source code so it only contains valid html code. Manually this means replacing any less than sign with appropriate html code.
Everything is nicely explained here:
syntax highlighting tutorial
and here is a direct link to a site to escape your html
quick escape
Saturday, August 14, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment