diff options
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); |