From 9cb9e37c33173c16cbafd345f43e43b5a550537d Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 19 Sep 2022 17:29:59 +0200 Subject: Add structs, enums for `mdast` --- readme.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 4236338..0a03e0d 100644 --- a/readme.md +++ b/readme.md @@ -180,12 +180,12 @@ The files in `src/` are as follows: — CommonMark, GFM, and other extension constructs used in micromark - `util/*.rs` — helpers often needed when parsing markdown -- `compiler.rs` - — turns events into a string of HTML - `event.rs` — things with meaning happening somewhere - `lib.rs` — core module +- `mdast.rs` + — syntax tree - `parser.rs` — turn a string of markdown into events - `resolve.rs` @@ -194,6 +194,10 @@ The files in `src/` are as follows: — steps of the state machine - `subtokenize.rs` — handle content in other content +- `to_html.rs` + — turns events into a string of HTML +- `to_mdast.rs` + — turns events into a syntax tree - `tokenizer.rs` — glue the states of the state machine together -- cgit