Headings
List the headings of a file
An empty Roadmarks comment lists the headings of the file it is in, from level 2 down. Each heading links to its anchor:
<!-- RM -->
<!-- /RM -->
Roadmarks writes a nested list:
* [Install](#install)
* [Usage](#usage)
* [Options](#options)
The level 1 heading is the title of the file, so it is not in the list.
Limit the depth
To list fewer levels, set depth. This example lists level 2
headings only:
<!-- RM(depth:1) -->
<!-- /RM -->
Leave out the headings
To list only files, add nocontent:
<!-- RM(tree:*,nocontent) -->
<!-- /RM -->