Monday, November 09, 2009

Code Plugin for Blogger - How to Install Syntaxhighlighter

I found a nice blog post explaining how to install Syntaxhighlighter code plugin to blogger. It is very simple and works great.

Some additions
1. If your browser is Firefox, you should add the styles manually
    * copy the stylesheet at the location http://syntaxhighlighter.googlecode.com/svn/trunk/Styles/SyntaxHighlighter.css
    * Go to Layout --> Edit HTML
    * Paste the stylesheet before ]]> tag
    * Save the template

2. Other relevant scripts (Other than Cpp) are located here

8 comments:

Dinesh Wijekoon said...

Thankx, it works nice

kalani Ruwanpathirana said...

You are welcome :)

Anonymous said...

Thanks , does it work for java code also. my blog has some java code which I want to highlight , will it work ?

Javin
Hashtable vs HashMap

kalani Ruwanpathirana said...

Yes, this page contains all the supported types and relevant javascripts.

http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/

Anonymous said...

Every time i used to check blog posts here in the early hours in the break of day, for the reason that i enjoy to gain knowledge of more and more.
website design

Unknown said...

You can learn more about online, e-commerce on custom writing company. At this site you can download syntax highlighter software. This is an authentic site and it will not generate any adds or software that might generate virus in your computer. It is an easy download software and its also user friendly, easy to use.

Online Guitar Lessons said...

Several times my Firefox browser crashed and I had to reinstall it. Sometimes it work but not for long. On one such occasion I had to reinstall it several times a day as it keeps giving errors. I went online to get assignment helpers of http://topassignmentshelp.org/pay-for-assignment site to solve this issue and I found one. At long last I was able to fix the issue for good.

Guest said...

Yes you can also learn about how to bring your blogs up to standard through the researchpaperservicesreviews.com. I wish to install the syntaxhighlighter but there was nothing to explain how it works or how useful it will be to my blogging. Can you help me out with a bit more information? Thank you very much. .

Related Posts with Thumbnails