On the documentation website, the "Built-in Rules" section of the syntax reference page shows raw markdown after the end rule.

For reference, here is what the raw markdown looks like in syntax-reference.md:
|
`space`: Matches a single whitespace character (e.g., space, tab, newline, etc.) |
|
|
|
`end`: Matches the end of the input stream. Equivalent to `~any`. |
|
|
|
<code>caseInsensitive<<i>terminal</i>></code>: Matches _terminal_, but ignoring any differences in casing (based on the simple, single-character Unicode case mappings). E.g., `caseInsensitive<"ohm">` will match `'Ohm'`, `'OHM'`, etc. |
|
|
|
<code>ListOf<<i>elem</i>, <i>sep</i>></code>: Matches the expression _elem_ zero or more times, separated by something that matches the expression _sep_. E.g., `ListOf<letter, ",">` will match `''`, `'a'`, and `'a, b, c'`. |
|
|
|
<code>NonemptyListOf<<i>elem</i>, <i>sep</i>></code>: Like `ListOf`, but matches _elem_ at least one time. |
|
|
|
<code>listOf<<i>elem</i>, <i>sep</i>></code>: Similar to `ListOf<elem, sep>` but interpreted as [lexical rule](#syntactic-lexical). |
|
|
|
<code id="applySyntactic">applySyntactic<<i>ruleName</i>></code>: Allows the syntactic rule _ruleName_ to be applied in a lexical context, which is otherwise not allowed. Spaces are skipped _before_ and _after_ the rule application. _New in Ohm v16.1.0._ |
On the documentation website, the "Built-in Rules" section of the syntax reference page shows raw markdown after the
endrule.For reference, here is what the raw markdown looks like in
syntax-reference.md:ohm/doc/syntax-reference.md
Lines 165 to 177 in 08a460e