diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 11:24:06 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 11:24:06 +0200 |
commit | 6e20c3e79d4270fafb13a63af51eaffaa45c11e1 (patch) | |
tree | 3fb3952e00c5e111f30a73d7c25b0879e5a1d052 /src/constant.rs | |
parent | 3a4de4b3a89e7171f8e3e0b6bf02fcd2d5c5f748 (diff) | |
download | markdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.tar.gz markdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.tar.bz2 markdown-rs-6e20c3e79d4270fafb13a63af51eaffaa45c11e1.zip |
Refactor to rename list construct to list item
Diffstat (limited to 'src/constant.rs')
-rw-r--r-- | src/constant.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/constant.rs b/src/constant.rs index 6ef851c..47cb50c 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -202,7 +202,8 @@ 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; -/// The max number of decimals allowed to form an (ordered) [list][] item. +/// The max number of decimals allowed to form an (ordered) +/// [list item][list-item]. /// /// `CommonMark` caps this at 10 digits (9 is fine, 10 not). /// This limit is imposed because bigger numbers result in integer overflows @@ -212,7 +213,7 @@ pub const LINK_REFERENCE_SIZE_MAX: usize = 999; /// /// * [*ยง 5.2 List items* in `CommonMark`](https://spec.commonmark.org/0.30/#ordered-list-marker) /// -/// [list]: crate::construct::list +/// [list-item]: crate::construct::list_item pub const LIST_ITEM_VALUE_SIZE_MAX: usize = 10; /// Maximum allowed unbalanced parens in destination. |