views:

97

answers:

0

I use NDoc 1.3.1 to generate documentation in VS .NET 2003, framework v1.1.

For the following block

/// <example>
/// <code lang="C#" escaped="true">
/// try
/// {
///    // ...
/// }
/// catch (Exception ex)
/// {
///    // ...
/// }
/// </code>
/// </example>

in the code file, NDoc produces the contents in the <code> block formatted, but in one color. I'd like to have the syntax highlighted here, like in VS IDE. How to do it?

Should I use ExtensibilityStylesheet and define colorization for all tokens? This would require loads of work. Is file like this already somewhere to download? NDoc in it's own documentation DOES syntax highlighting for <code> block.