The most common requirement for formatting the text is the ability to insert new line in the resulting document. Putting the text in the new line in comment doesn't help. Both HTML and RTF ignore new line in their source text and continue to display text on the same line. HTML inserts one space before this text only.
If you are using XML comments, you can use <para> tag to start new paragraph.
If you are using @-style comments, VSdocman comes with predefined $EOL$ macro, which is defined in all templates and it provides inserting the new line. It is defined as follows:
|
Template type
|
Macro definition
|
|---|---|
| HTML and CHM | $EOL$ <br> |
| RTF | $EOL$ \line_ (red underscore stands for space) |
'** 'Our sample method.$EOL$ 'This is on new line. ' '@rem This is on the first line $EOL$ and this is on the second one. Function method1(ByVal x As Integer) As Boolean
Note, $EOL$ macro can be also applied to the title page text in the
Options dialog.