As you know that I have decided to put JS tutorials on this blog. So I needed highlighted ode to be displayed in the posts. I had a few option to show highlighted code on this blog -
- Post a picture from TextMate. (But then how will someone copy the code?)
- Use CodeHighlighter.js. (Does blogger allow external JS?)
- Should I put a span tag individually on the code. (Am I Mad?)
- Write a little piece of code that'll use CodeHighlighter.js to add the tags for me on my computer and then copy the code. (Takes too much time)
- Google (YES!)
So a quick Google search showed that there is a tool that takes code and returns it highlighted and its HTML. I use to go to the same website to make favicons too, Chami, I used to love this website. Its a bit ugly but very effective and does the dirty work so I like it.
No comments:
Post a Comment