This is the list of supported directives, with their supported combinations of parameters and aliases:

Initialisation and parsing control:
  • #manual <version> (aliases: #version): The version of DotNet Manuals which the current page is meant for. It should be the first line of your script.
  • #ifparser "<string>" {all|directives|none} (aliases: #ifparser-begin): If the current parser matches the provided descriptor (which can be obtained via the @@parser; variable ― and could be, for instance, parser.console, or renderer.text, etc.), specifies whether the following elements and directives must be parsed or not.
  • #else [ {+all+|directives|none} ] (valid within an #ifparser-#/ifparser block only): Specifies what should be parsed otherwise.
  • #/ifparser (aliases: #ifparser-end, #/if, #if-end*): Terminates the validity of the previous #ifparser or #else blocks.
  • #include "<file>": Includes another page within the current page.
Properties and parts of the document:
  • #title "<string>" (aliases: #head): The title for the current page.
  • #subtitle "<string>" (aliases: #subhead, #titlesub, #headsub): The sub-title for the current page.
  • #section "<string>" (aliases: #section-begin): Begins a new section. Remember to always close the previous section, unless you mean to nest them.
  • #/section (aliases: #section-end): Ends the current section.
  • #width <int+>: The width of the renderer window, or the maximum length of a row, in textual renderers. Not every parser/renderer handles this directive.
  • #height <int+>: The height of the renderer window. Not every parser/renderer handles this directive.
Blocks and stuctures:
  • #highlight <format> (aliases: #highlight-begin, #code, #code-begin): Highlights code text in the following elements.
  • #/highlight (aliases: #highlight-end, #/code): Ends the current (highlighted) code block.
  • #table "<col1:size>",…,"<colN:size>" [...] (aliases: #table-begin): Indicates that following elements should be parsed as cells of a table.
  • #/table (aliases: *#table-end): Ends the current table.

Last edited Oct 31, 2013 at 5:30 PM by cav94mat, version 1