From be62b2e29a61774100f676cfdd9b100cadf1905f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 30 Jun 2022 16:35:13 +0200 Subject: Add support for trimming whitespace around string, text This commit introduces trimming initial and final whitespace around the whole string or text, or around line endings inside that string or text. * Add `register_resolver_before`, to run resolvers earlier than others, used for labels * Add resolver to merge `data` events, which are the most frequent token that occurs, and can happen adjacently. In `micromark-js` this sped up parsing a lot * Fix a bug where a virtual space was not seen as an okay event * Refactor to enable all turned off whitespace tests --- readme.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 05365a0..4144440 100644 --- a/readme.md +++ b/readme.md @@ -138,10 +138,6 @@ cargo doc --document-private-items #### Parse -- [ ] (1) Parse initial and final space_or_tab of paragraphs (in text)\ - test (`code_indented`, `definition`, `hard_break_escape`, `hard_break_trailing`, - `heading_atx`, `heading_setext`, `html_flow`, `misc_soft_break`, - `misc_tabs`, `thematic_break`) - [ ] (3) Interrupting (html flow complete, definition + code_indented) - [ ] (5) attention\ test (`character_reference`, `hard_break_escape`, `hard_break_trailing`, @@ -281,3 +277,4 @@ important. - [x] (1) Add docs to Image, Link, and other media tokens - [x] (1) Add docs on resolver, clean feed - [x] (3) Clean compiler +- [x] (1) Parse initial and final space_or_tab of paragraphs (in string, text) -- cgit