Code sections allow example code etc to be placed unprocessed within the documentation.
There should not be a line below this text.
There should be a line below this text. ----------------------------
Code Snippets | Code sections allow example code etc to be placed unprocessed within the documentation. |
Marked regions | Start section using regions marked within ([start] code) .. |
Line prefixes | Code sections using line prefixes (>), (|) or (:) as the first non whitespace character shall be treated in the same fashion as (code)/(end) code snippets, examples. |
Quote regions | Similar to nature code sections are quote regions in that they retain there line breaks, yet have an alternative stype applied. |
Start section using regions marked within ([start] code) .. (end [code]).
Code snippet one ... (start code)/(end)
(start code) Code snippet one ... (start code)/(end) (end)
Code snippet two ... (code)/(end)
(code) Code snippet two ... (code)/(end) (end)
Code snippet three ... (code)/(end code)
(code) Code snippet three ... (code)/(end) (end code)
Code sections using line prefixes (>), (|) or (:) as the first non whitespace character shall be treated in the same fashion as (code)/(end) code snippets, examples.
Code snippet four ...
> Code snippet four ...
Code snippet five ...
| Code snippet five ...
Code snippet six ...
: Code snippet six ...
Similar to nature code sections are quote regions in that they retain there line breaks, yet have an alternative stype applied.
There primary use is within Admonitions, allowing example text not to be formatted.
(quote) This should be two lines ... and the second (end)
This should be two *lines* ...
and the second
To send feedback on this topic email: natural@gmai l.com docsplus
© Some Rights Reserved. see License