You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[^matched-fence]: The closing fence must have the same number of `-` as the opening fence
23
+
[^escaped-fence]: A `FRONTMATTER_FENCE` at the beginning of a `FRONTMATTER_LINE` is only invalid if it has the same or more `-` as the `FRONTMATTER_FENCE`
24
+
25
+
Frontmatter is an optional section for content intended for external tools without requiring these tools to have full knowledge of the Rust grammar.
26
+
27
+
r[frontmatter.document]
28
+
Frontmatter may only be preceded by a [shebang] and whitespace.
29
+
30
+
r[frontmatter.fence]
31
+
The delimiters are referred to as a "fence."
32
+
The opening and closing fences must be at the start of a line.
33
+
They must be a matching pair of three or more hyphens (`-`).
34
+
35
+
r[frontmatter.infostring]
36
+
Following the opening fence may be an infostring for identifying the intention of the contained content.
37
+
An infostring may be preceded by non-newline whitespace.
38
+
39
+
r[frontmatter.body]
40
+
The body of the frontmatter may contain any content except for a line starting with as many or more hyphens (`-`) than in the fences.
0 commit comments