You can add basic markups by using the following formats.
Formatting | You can add basic markups by using the following formats. |
Text markups | The design spirit of Natural Docs is that document layout within the original source files which shall generally read just as easily as the generated documentation. |
Text Markups | The total set of ND markups and extensions are; |
Possible Additions | In addition to the above, the following are being considered as future enhancements; following AsciiDoc and several Wiki’s. |
Specials | A number of automatic special character conversions shall occur when their text equivilent is used; |
The design spirit of Natural Docs is that document layout within the original source files which shall generally read just as easily as the generated documentation.
The standard ND markups are available plus a number of extensions including italic and strikethrough.
*Bold text* _Underlined text_ Paragraphs are broken by skipping lines. So the two lines above each have their own paragraph, but these three lines are all part of the same one.
Bold text
Underlined text
Paragraphs are broken by skipping lines. So the two lines above each have their own paragraph, but these three lines are all part of the same one.
The total set of ND markups and extensions are;
this line should contain standard text.
Result
this line should contain standard text.
*this* *line* *should* *contain* *bold* *text*.
Result
this line should contain bold text.
'this' 'line' 'should' 'contain' 'italic' 'text'.
Result
this line should contain italic text.
"this line should contain quoted text".
Result
”this line should contain quoted text”.
~~this line should contain Strikethrough/deleted text~~.
Result
this line should contain Strikethrough/deleted text.
In addition to the above, the following are being considered as future enhancements; following AsciiDoc and several Wiki’s.
{{this line should contain monospaced text}}.
{{this line would contain monospaced text}}.
??citation??
-- citation.
*_underlined and bold_*
_underlined and bold_
*'underlined and italic'*
’underlined and italic’
^^superscript^^
^^superscript^^
,,subscript,,
,,superscript,,
Finally a strict markup mode is being considered markup=strict (See: Modelines) requiring the use of double leading and trailing [ ‘ * _ ] characters for italic, bold and underlined text; bring ND+ inline with a number of wiki’s.
To send feedback on this topic email: natural@gmai l.com docsplus
© Some Rights Reserved. see License