Tuesday 30 September 2014

finally, syntax highlighter working with live writer, a Mac and blogger

I’ve been on struggle street getting the syntax highlighter working.  I’ve only seen as far as I have by standing on the blogs of giants! 

http://www.craftyfella.com/2010/01/syntax-highlighting-with-blogger-engine.html this was great for the tip on modifying the theme of the blogger blog.

image

Then, the final piece was NOT using Rich Hewlett’s syntax highlighter, as this has some issues with the blogger / livewriter combo.  I could not get his plugin to work.  It seems to wrap the code in different names / tags, not the standard ones that the legend Alex Gorbachev hosts and develops.

So, when inserting the source code, use

image

https://sourcecodeplugin.codeplex.com/releases/view/25596

image

Finally, my source code looks good.

No comments: