From 57673d17336371ca5a98cd8d0ce2b01137b43431 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 5 Sep 2022 15:20:00 +0200 Subject: Fix some todos --- src/util/constant.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/util') diff --git a/src/util/constant.rs b/src/util/constant.rs index d6a6651..a9a7895 100644 --- a/src/util/constant.rs +++ b/src/util/constant.rs @@ -248,6 +248,13 @@ pub const LINK_REFERENCE_SIZE_MAX: usize = 999; /// [list-item]: crate::construct::list_item pub const LIST_ITEM_VALUE_SIZE_MAX: usize = 10; +/// The number of markers needed for [math (flow)][raw_flow] to form. +/// +/// Unlike code (fenced), this number is `2`. +/// +/// [raw_flow]: crate::construct::raw_flow +pub const MATH_FLOW_SEQUENCE_SIZE_MIN: usize = 2; + /// Maximum allowed unbalanced parens in destination. /// /// There can be many balanced parens, but if there are 33 opens that were not -- cgit