My blog is hosted on Blogger and I frequently post code snippets in C
/ C#
/ Java
/ XML
etc. but I find the snippet gets “mangled”.
Are there any web sites that I could use to parse the snippet beforehand and sort out the formatting, convert XML “<
” to “<
” etc.
There are a numbers of questions around this area on SO but I couldn’t find any that address this question directly.
Edit:
For @Rich answer, site states “To display the formatted code on your site, you need to get this CSS stylesheet, and add a reference to it in the <head>
section of your page”. That’s the problem – you can’t do this on Blogger AFAIK.