Since this is a Technical Blog, concerning topics that have to do with programming mostly I wanted to add some sort of syntax highlighting library to this website. Blogger allows you do fully edit your HTML (actually XML) template, so I did the following:
- Looked up syntax highlighting on blogger
- Ended up here: http://www.sitepoint.com/blogs/2006/08/29/flickr-mysql-dba-blog/
Note how someone states in the comments that it SHOULD be possible to add dp.SyntaxHighlighter since the template is editable.
- I did as instructed.. I upload the library to my personal website, and editted the template so that the files were included.
- I surrounded code blocks as instructed by dp.SyntaxHighligher...
What I discovered was that blogger prints a post on a SINGLE LINE. All new line are omitted (even if you didn't use 'Compose' mode, but editted the HTML directly). SyntaxHighlighter can't cope with this (expects newline characters, etc.).
Blogger, this is seriously messed up and I would REALLY appreciate native syntax highlighting support, or if that is not going to happen a way to include third party libraries and make it work properly!
Furthermore I do like to recommend dp.SyntaxHighlighter if you can't syntax highligh server side! The library is very extensive, easy to use and produces very nice syntax!