aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/code_fenced.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-15 13:05:45 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-15 13:05:45 +0200
commitd19934cf351168bd1a3a285b35af047f0fb3655b (patch)
tree470fae207aa00511551250341c889b7818e25847 /src/construct/code_fenced.rs
parentcfa06e07cdf72018595ae447febc5736e73814e9 (diff)
downloadmarkdown-rs-d19934cf351168bd1a3a285b35af047f0fb3655b.tar.gz
markdown-rs-d19934cf351168bd1a3a285b35af047f0fb3655b.tar.bz2
markdown-rs-d19934cf351168bd1a3a285b35af047f0fb3655b.zip
Add missing docs to html (flow)
Diffstat (limited to '')
-rw-r--r--src/construct/code_fenced.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/construct/code_fenced.rs b/src/construct/code_fenced.rs
index a8a4009..622cc3d 100644
--- a/src/construct/code_fenced.rs
+++ b/src/construct/code_fenced.rs
@@ -383,7 +383,13 @@ fn at_break(tokenizer: &mut Tokenizer, code: Code, info: Info) -> StateFnResult
})(tokenizer, code)
}
-/// To do.
+/// At an eol/eof in code, before a non-lazy closing fence or content.
+///
+/// ```markdown
+/// ~~~js|
+/// aa|
+/// ~~~
+/// ```
fn at_non_lazy_break(tokenizer: &mut Tokenizer, code: Code, info: Info) -> StateFnResult {
let clone = info.clone();