Wednesday, December 2, 2009

Adding HTML/Javascript block scripts

For quite a long time I wanted to know how could I include HTML / JavaScript / Visual Basic scripts (including their original editor colors) into my blog. I looked up on the internet for the answer finding nothing useful. Finally, I got this:

Somewhere I found that I needed a third party program that could do the translation job. This is the one I use now:

http://www.stevetrefethen.com/highlighter/default.aspx


However, there are also some others that I haven't try yet. You can find more information here:

http://stackoverflow.com/questions/557961/html-examples-syntax-highlighting-and-encoding-for-blog-posts

No comments:

Post a Comment