15 July 2009

Syntax Highlighting

First and very important step for posting code is to get a good highlighting. So let's try SyntaxHighlighte
  1. Download SyntaxHighlighter and unpack it
  2. Upload to a webspace somewhere in the worldwideweb
    Styles/SyntaxHighlighter.css
    Scripts/shCore.js
    Scripts/shBrush....js
  3. Include the css and the js code into yout site
    If you are using Blogger go to Layout -> Edit HTML

in the head of the page

at the end of the page


Thats it! To try if everything is working as expected just post something like

code code code

No comments: