diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 13:00:53 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 13:00:53 +0200 |
commit | 75522b867b15b9a400275cfec9a2ead4ff535473 (patch) | |
tree | 4a9511f6b8899e1ead2ca02686ffd571b1bd4e1f /src/constant.rs | |
parent | 2ce19d9fd8f75ee1e3d62762e91f5d18303d4d6b (diff) | |
download | markdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.tar.gz markdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.tar.bz2 markdown-rs-75522b867b15b9a400275cfec9a2ead4ff535473.zip |
Add initial support for lists
Diffstat (limited to 'src/constant.rs')
-rw-r--r-- | src/constant.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/constant.rs b/src/constant.rs index fc74316..5dd2435 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -193,6 +193,10 @@ pub const HTML_RAW_SIZE_MAX: usize = 8; /// To safeguard performance, labels are capped at a large number: `999`. pub const LINK_REFERENCE_SIZE_MAX: usize = 999; +/// To do. +/// See: <https://spec.commonmark.org/0.30/#ordered-list-marker> +pub const LIST_ITEM_VALUE_SIZE_MAX: usize = 10; + /// Maximum allowed unbalanced parens in destination. /// /// There can be many balanced parens, but if there are 33 opens that were not |