Roadmarks

Ignore blocks

Hide part of a file

To keep a part of a file out of the table of contents, and to stop Roadmarks from filling in the comments in it, wrap it in an RM-IGNORE block:

<!-- RM-IGNORE -->
## Table of contents
<!-- /RM-IGNORE -->

Roadmarks leaves everything inside the block as it is. Each comment starts a line.

Code blocks

Roadmarks also skips headings and comments in code blocks, so you can show an example of the markup:

  • Fenced code blocks, between lines of three backticks.
  • Indented code blocks, indented by four spaces or a tab.

View this page on GitHub