Monday, September 3, 2007
Blogger Syntax Highlighter
Posted In:
blogger,
javascript.
By FaziBear
My syntax highligter widget for blogger is avaiable. It's based on SyntaxHighlighter 1.5.1.
Package include all compressed code and brushes, works in blogger mode. This script also handle older/newer posts links.
To add it check out this page.
For usage information visit this wiki page.
Update:
All _WidgetManager magic was removed. It's simply don't work for now. Next and previous post don't use XHR. If you have any javascript errors with _WidgetManager remove this widget and add once again.
20 Responses to Blogger Syntax Highlighter
Many thanks for doing this, I was interested in this bit code
_WidgetManager._HandleControllerResultOld = _WidgetManager._HandleControllerResult
_WidgetManager._HandleControllerResult = function(a,b,c) { _WidgetManager._HandleControllerResultOld(a,b,c); if(b=='nextposts'){ dp.SyntaxHighlighter.HighlightAll('code'); } }
Can you tell me what problem this code is fixing? And also is there any documentation on the _WidgetManager API or an uncompressed version of the widget JavaScript library?
cheers and thanks again
This code highlights dynamically loaded posts when you click 'Older Posts' link.
Awesome. Thanks!
nice one, tx
hey thanks, it looks pretty neat and amazing!
thanx a lot!!
Awesome, thanks!
Thanks so much for this! It made it much easier than modding my Blogger template.
Did I notice correctly that you pointed the src links for the js to the Google Code repository?
This is very nice. Thanx.
Specially because some blogger bug is not letting you edit your template as for 2009.
Just adding this widget solve all problems? I've added this widget but still not highlighting the code... any other tings to do other than adding widget? can u help...?
Nice widget,thanks.. i used in my blog. http://prajeeshkk.blogspot.com/
Thanks buddy, its really easy and I used it too,
Thank you very much I was tried it my self but it was not showing as expected but using yours I get my results easily,Great work!!
Thank you!
Thank you, I spent too much time looking for java-to-html tools (one of which was copy/pasting from eclipse to an html word-document...) but they didn't turn out great.
This is just excellent and very "maintainable", I can just copy/paste the code without needing to have any ugly html color/style tags in the post.
I blogged about how much i love this code syntax hilighter its way cool and was way easy to install on blogger
I found this site using [url=http://google.com]google.com[/url] And i want to thank you for your work. You have done really very good site. Great work, great site! Thank you!
Sorry for offtopic
here is a guide on how to use the latest version of syntax highlighter using creator free hosting:
http://practician.blogspot.com/2010/07/color-my-world-syntax-highlighter.html
thanks to make this. I wanna use this link in my blog.
Gonna test it in my blog
Something to say?