aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4de633c..428838a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -150,6 +150,17 @@ pub struct Constructs {
/// ^^^^^^^^^^
/// ```
pub definition: bool,
+ /// Frontmatter.
+ ///
+ /// ````markdown
+ /// > | ---
+ /// ^^^
+ /// > | title: Neptune
+ /// ^^^^^^^^^^^^^^
+ /// > | ---
+ /// ^^^
+ /// ````
+ pub frontmatter: bool,
/// Hard break (escape).
///
/// ```markdown
@@ -246,6 +257,7 @@ impl Default for Constructs {
code_fenced: true,
code_text: true,
definition: true,
+ frontmatter: false,
hard_break_escape: true,
hard_break_trailing: true,
heading_atx: true,