Does anyone know of any C# syntax highlighter plugins for Confluence? Using the default Java highlighter works, but it misses things like string in C# and String in Java, with the latter being highlighted and the former plain black text.
+2
A:
There is a so called newcode macro that allows a lot of different languages. See https://studio.plugins.atlassian.com/wiki/display/NCODE/Confluence+New+Code+Macro for the macro itself.
To use the macro, just enclose your code into
{newcode:csharp}...{newcode}
mliebelt
2010-03-27 10:35:45
Brilliant. Thanks for that.
Andrew Bienert
2010-03-28 08:27:50