From 6ee90b34c87354baf8e03d5469a92cf5dd17a82b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 16 Aug 2022 16:49:29 +0200 Subject: Add support for frontmatter --- src/constant.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/constant.rs') diff --git a/src/constant.rs b/src/constant.rs index b856fd0..45853a7 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -67,6 +67,13 @@ pub const CHARACTER_REFERENCE_NAMED_SIZE_MAX: usize = 31; /// [code_fenced]: crate::construct::code_fenced pub const CODE_FENCED_SEQUENCE_SIZE_MIN: usize = 3; +/// The number of markers needed for [frontmatter][] to form. +/// +/// Like many things in markdown, the number is `3`. +/// +/// [frontmatter]: crate::construct::frontmatter +pub const FRONTMATTER_SEQUENCE_SIZE: usize = 3; + /// The number of preceding spaces needed for a [hard break /// (trailing)][whitespace] to form. /// -- cgit