[Mono-docs-list] xml problem with monodoc
Jonathan Pryor
jonpryor at vt.edu
Fri Jun 23 21:59:01 EDT 2006
On Fri, 2006-06-23 at 13:20 +0200, Alexandre Grin wrote:
> Ok, thanks a lot. And for a line return?
Why would you need to escape a line return? I'm not understanding your
scenario...
Code examples should be within <code/> elements, and the rendering of
<code/> elements preserves all newlines (it's like HTML <pre/> but
without using a fixed-width font), e.g.
<code lang="C#">
using System;
class Test {
static string ui_info =
" <menubar>\n" +
" < menu name=\"MenuFile\" action=
\"firstMenu\">\n"+
/* ... */
" </menubar>\n";
/* ... */
}
</code>
Look at the existing XML documentation for examples.
- Jon
More information about the Mono-docs-list
mailing list