summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-01-31 11:05:59 +0100
committerLaurenz <laurmaedje@gmail.com>2022-01-31 11:05:59 +0100
commit490819a3d091ec359963364b941e562a4b6d89f8 (patch)
treea1292a2e7437d96ec24778b9a918da1bc0d032fa /src/syntax
parent8d1ce390e21ce0a5812a4211c893ec359906d6f1 (diff)
Reorder succession rules
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax/mod.rs b/src/syntax/mod.rs
index fdd50a7a..03a496dd 100644
--- a/src/syntax/mod.rs
+++ b/src/syntax/mod.rs
@@ -581,6 +581,10 @@ pub enum NodeKind {
/// The `as` keyword.
As,
/// Template markup of which all lines must start in some column.
+ ///
+ /// Notably, the usize does not determine in which column the markup
+ /// started, but to the right of which column all markup elements must be,
+ /// so it is zero except for headings and lists.
Markup(usize),
/// One or more whitespace characters.
Space(usize),