Friday, November 27, 2009

Syntax Highlighting on Blogspot

I've been very interested in providing some syntax highlighting in my blog posts, which I've been slow in general getting out... ( I have 6 or so queued up ). I finally found something I like and thought I would share the love. Special thanks to @ecounysis on twitter from whom I made this discovery. There are no excuses for my future posts... they will all have nice highlighting and be more easily copied (via the clipboard feature).

The place to start is: http://alexgorbatchev.com/wiki/SyntaxHighlighter:Hosting

From there you'll see the link to: http://blog.cartercole.com/2009/10/awesome-syntax-highlighting-made-easy.html

One important thing to note for those on blogger / blogspot. The initial update of the head tag didn't take for me. The solution for me was to add the highlighting entries at the tail end of head, just prior to the closing tag.

In addition to many of the bundled options... I've added F# and Objective-C from undermyhat.

4 comments:

mathew said...

Interesting information is very useful for many people the truth seems to me important to read an articles of this kind, thanks for sharing with us and I want to read an article about Dinero Online because I want to start a business

Thejas said...

I figured out an other way to achieve the same[probaly looks better :)] :

http://abriefsummaryofeverything.blogspot.com/2011/05/syntax-highlighting-in-your-blog-for.html

刘利 said...

I like to make friends with you,haha.


----------------------------------------------------------------------------------------------------------------------------------------
Rc Helicopter|Mini Rc Helicopter|Rc Helicopters

刘利 said...

I like to make friends with you,haha.


----------------------------------------------------------------------------------------------------------------------------------------
Rc Helicopter|Mini Rc Helicopter|Rc Helicopters