problems with [code][/code]?

Feb 17, 2008 at 3:19 AM
Edited Feb 17, 2008 at 3:20 AM
For some reason, when I use the code extension, like code:ccode here/code everything works fine, the code is highlighted correctly and all, but "code:c" and "/code" is renderind inside the code block... how do I get this to not be rendered? Thank you.

      • brackets are not shiowing up above, there sould be square brackets around code and /code etc...
Apr 13, 2008 at 2:06 PM
Because of the complains about the built in syntax highlighter I'm improving it and I'm blogging about it here:
http://www.rickardnilsson.net/post/Syntax-highlighting-in-BlogEngineNET.aspx
Apr 30, 2008 at 9:57 AM
I am also trying to get the syntax-highlight to work correctly - specifically displaying XML-markup. It seems to work OK with highlighting e.g. c#-code, but I have not been able to get it to display XML-markup yet.

Do any of you guys have a solution to this?

Thanks,

/Jesper
May 7, 2008 at 12:09 PM
A new version of the syntax highlighter with better recognition of code tags as well as coloring of types in C# is available here: http://www.rickardnilsson.net/post/Syntax-Highlighter-Release-02-Beta.aspx

/Rickard