Navigation
Synopsis A (possibly nested) list of numbered points.
Syntax
  1. # MarkedText
  2. ## MarkedText
  3. ### MarkedText
  4. ...
Description NumberedLists create, possibly nested, lists of numbered points. The number of # characters determines the nesting level of a (sub)list.

A list item ends with:
  • the start of a new list item.
  • to consecutive empty lines.

    BulletLists and NumberedLists can be mixed.
Examples The input


# First item.
# Second item.

will produce:
  1. First item.
  2. Second item.
The input


# First item.
## First subitem.
## Second subitem.
# Second item

will produce:
  1. First item.
    1. First subitem.
    2. Second subitem.
  2. Second item
Pitfalls Do not forget to add two newlines after a NumberedList, otherwise the new paragraph becomes part of the last list item.
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.