diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:52:25 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-22 17:52:25 +0200 |
commit | d2c5950762192a447c9023c77ee4f8195afb8fd8 (patch) | |
tree | 91ed9184042fa9ac4f67085e8cd61ba337c265bf /src | |
parent | 5416b61f89155b475fa5674898b8ff963aa443b5 (diff) | |
download | markdown-rs-d2c5950762192a447c9023c77ee4f8195afb8fd8.tar.gz markdown-rs-d2c5950762192a447c9023c77ee4f8195afb8fd8.tar.bz2 markdown-rs-d2c5950762192a447c9023c77ee4f8195afb8fd8.zip |
Update todo
Diffstat (limited to '')
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs index 250ff0c..49d99d3 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -1,9 +1,11 @@ //! Turn a string of markdown into events. + // To do: this should start with `containers`, when they’re done. use crate::content::flow::flow; use crate::tokenizer::{as_codes, Code, Event, Point}; /// Turn a string of markdown into events. +/// /// Passes the codes back so the compiler can access the source. pub fn parse(value: &str) -> (Vec<Event>, Vec<Code>) { let codes = as_codes(value); |