Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-10-13 | Add some unit tests for internal character functions | 1 | -15/+102 | ||
2022-10-13 | Rename crate to `markdown` | 6 | -10/+10 | ||
2022-10-11 | Refactor to use a bunch of `into` | 3 | -17/+10 | ||
2022-10-11 | Refactor some hidden internals | 2 | -2/+4 | ||
2022-10-11 | Add some missing internal docs | 2 | -14/+25 | ||
2022-10-11 | Add support for proper positional info in swc tree | 3 | -49/+144 | ||
* Fix some positional info in SWC error messages * Add positional info in `to_document` on duplicate layouts * Add support for `path` on `Program` (`to_swc`, `to_document`, `jsx_rewrite`), for the path of a file on disk * Add support for `development` to `jsx-rewrite`, which when defined will embed info on where tags were written into the runtime code when they are not passed * Refactor to move some utilities to `micromark_swc_utils.rs`, `swc_utils.rs` | |||||
2022-10-06 | Refactor to share identifier methods | 2 | -0/+16 | ||
2022-10-06 | Add support for HTML 4 character references in JSX attributes | 4 | -94/+475 | ||
2022-09-28 | Add support for turning mdast to hast | 1 | -0/+1 | ||
2022-09-26 | Add support for compiling to mdast | 3 | -2/+195 | ||
See: <https://github.com/syntax-tree/mdast>. | |||||
2022-09-19 | Add support for parsing MDX ESM, expressions | 2 | -0/+71 | ||
This commit adds support for hooks that lets a user integrate another parser with `micromark-rs`, to parse ESM and expressions according to a particular grammar (such as a programming language, typically JavaScript). For an example integrating with SWC, see `tests/test_utils/mod.rs`. The integration occurs with two functions passed in `options`: `mdx_expression_parse` and `mdx_esm_parse`. The can signal back to micromark when they are successful, whether there is an error at the end (in which case micromark will try to parse more), or whether there is a syntax error (in which case micromark will crash). | |||||
2022-09-09 | Refactor to move byte, char info to own file | 4 | -119/+167 | ||
2022-09-06 | Add initial states for MDX JSX (text) | 1 | -1/+24 | ||
2022-09-05 | Fix some todos | 1 | -0/+7 | ||
2022-09-05 | Add support for getting `char`s from bytes | 1 | -0/+22 | ||
2022-09-01 | Add support for GFM tagfilter | 4 | -29/+154 | ||
2022-08-26 | Add support for math (flow) | 1 | -4/+4 | ||
2022-08-22 | Add support for GFM task list item | 1 | -2/+10 | ||
2022-08-19 | Refactor to move more things to `util/` | 6 | -3/+3292 | ||
2022-08-18 | Add support for GFM autolink literals | 2 | -0/+73 | ||
2022-08-16 | Add `no_std + alloc` | 6 | -1/+13 | ||
2022-08-15 | Refactor to proof docs, grammars | 8 | -33/+39 | ||
2022-08-12 | Refactor to improve docs of each function | 3 | -20/+18 | ||
2022-08-11 | Refactor to move some code to `event.rs` | 3 | -35/+25 | ||
2022-08-01 | Add missing docs, refactor some code | 1 | -13/+26 | ||
2022-08-01 | Refactor to pass more `&str`s, work on more bytes | 1 | -0/+5 | ||
2022-07-29 | Refactor to improve states | 5 | -76/+91 | ||
* Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len` | |||||
2022-07-29 | Refactor to work on bytes (`u8`) | 1 | -26/+18 | ||
2022-07-28 | Refactor to use `debug_assert` | 1 | -1/+1 | ||
2022-07-28 | Refactor to work on `char`s | 6 | -188/+167 | ||
Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event. | |||||
2022-07-22 | Refactor to use a single shared edit map | 1 | -9/+6 | ||
2022-07-22 | Refactor to remove unneeded tuples in every states | 2 | -2/+2 | ||
2022-07-21 | Refactor performance around links in subtokenize | 1 | -28/+35 | ||
2022-07-21 | Refactor to move `index` field to `point` | 1 | -2/+2 | ||
2022-07-21 | Refactor to move some event fields to `link` | 1 | -3/+5 | ||
2022-07-20 | Refactor to improve allocation around strings | 4 | -82/+65 | ||
2022-07-20 | Refactor to use less vecs for events | 1 | -42/+28 | ||
2022-07-19 | Refactor to remove cloning in `edit_map` | 1 | -19/+25 | ||
2022-07-19 | Use `edit_map` in `subtokenize` | 1 | -14/+1 | ||
2022-07-19 | Remove another unneeded `HashMap` | 1 | -40/+38 | ||
2022-07-18 | Fix dead link in docs | 1 | -3/+3 | ||
2022-07-18 | Fix edge case in identifier normalization | 1 | -1/+9 | ||
2022-07-15 | Fix to use single array for character references | 1 | -7/+4 | ||
2022-07-14 | Add support for container state | 2 | -7/+15 | ||
* Fix to parse list item continuation based on how big the initial list item prefix was * Fix list items that start with blank lines | |||||
2022-07-13 | Fix lists in lists and some other bugs | 1 | -6/+0 | ||
2022-07-12 | Fix some issues around empty lists | 1 | -1/+4 | ||
2022-07-12 | Fix a lot of list things | 1 | -7/+34 | ||
* Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events | |||||
2022-07-11 | Add tests for matching identifiers w/ turkish `i` | 1 | -1/+0 | ||
2022-07-07 | Refactor to move token types to `token` | 1 | -4/+5 | ||
2022-07-07 | Refactor to use `char::REPLACEMENT_CHARACTER` | 2 | -2/+2 | ||