i'm generating documentation files from the xml comments of my c# code, by using sandcastle help file builder. do you know how to include code examples into the help file, like msdn style?
+4
A:
Did you try the <example>
and <code>
tags? It should do what you want.
<summary> ... </summary>
<example>This is a code example:
<code> ... </code>
</example>
tanascius
2009-06-09 07:28:58
yep it's pretty much what i wanted. thanks tanascius :)
davsan
2009-06-09 08:22:02
And if you're using SHFB ( http://www.codeplex.com/SHFB ) you can add the language of the code too, that way you'll also get code colorization.
Paulo Santos
2010-01-23 21:38:19