diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-16 12:55:50 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-16 12:55:50 +0200 |
commit | 7350acc692a79d9d4cf56afbc53ac3c9f2a6237c (patch) | |
tree | 02f8b83230a40b509adf4b4872e313544c7fc80f /src/constant.rs | |
parent | 58ba69452a25c3d4b2059c01cc6cd837159d2f90 (diff) | |
download | markdown-rs-7350acc692a79d9d4cf56afbc53ac3c9f2a6237c.tar.gz markdown-rs-7350acc692a79d9d4cf56afbc53ac3c9f2a6237c.tar.bz2 markdown-rs-7350acc692a79d9d4cf56afbc53ac3c9f2a6237c.zip |
Add support for hard break (trailing)
Diffstat (limited to '')
-rw-r--r-- | src/constant.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/constant.rs b/src/constant.rs index d2fb238..ff9e62e 100644 --- a/src/constant.rs +++ b/src/constant.rs @@ -44,6 +44,12 @@ pub const AUTOLINK_SCHEME_SIZE_MAX: usize = 32; /// [autolink]: crate::construct::autolink pub const AUTOLINK_DOMAIN_SIZE_MAX: usize = 63; +/// The number of spaces needed, before a line ending, for a [hard break +/// (trailing)][hard_break_trailing] to form. +/// +/// [hard_break_trailing]: crate::construct::hard_break_trailing +pub const HARD_BREAK_PREFIX_SIZE_MIN: usize = 2; + /// The number of markers needed for a [thematic break][thematic_break] to form. /// /// Like many things in markdown, the number is `3`. |