Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to attempt to fix some coverage bugs | Titus Wormer | 2022-10-14 | 1 | -1/+6 |
| | |||||
* | Add some tests for mdx parse types, `must_use` | Titus Wormer | 2022-10-14 | 1 | -0/+60 |
| | |||||
* | Add some unit tests for core api | Titus Wormer | 2022-10-14 | 1 | -10/+198 |
| | |||||
* | Add some tests for line endings | Titus Wormer | 2022-10-14 | 1 | -4/+56 |
| | |||||
* | Add some more tests on mdx and indented code | Titus Wormer | 2022-10-14 | 1 | -0/+6 |
| | |||||
* | Add logo to crate docs | Titus Wormer | 2022-10-13 | 1 | -3/+4 |
| | |||||
* | Rename crate to `markdown` | Titus Wormer | 2022-10-13 | 1 | -83/+85 |
| | |||||
* | Add note about crate logo | Titus Wormer | 2022-10-12 | 1 | -0/+3 |
| | |||||
* | Refactor some hidden internals | Titus Wormer | 2022-10-11 | 1 | -25/+9 |
| | |||||
* | Add improved docs to public api | Titus Wormer | 2022-10-11 | 1 | -102/+330 |
| | |||||
* | Add support for proper positional info in swc tree | Titus Wormer | 2022-10-11 | 1 | -4/+7 |
| | | | | | | | | | | * 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` | ||||
* | Refactor to split parse from compile options | Titus Wormer | 2022-10-06 | 1 | -172/+263 |
| | |||||
* | Refactor to share identifier methods | Titus Wormer | 2022-10-06 | 1 | -1/+16 |
| | |||||
* | Add inline clippy config | Titus Wormer | 2022-09-29 | 1 | -0/+3 |
| | |||||
* | Add support for turning mdast to hast | Titus Wormer | 2022-09-28 | 1 | -2/+10 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 1 | -14/+16 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add structs, enums for `mdast` | Titus Wormer | 2022-09-19 | 1 | -8/+37 |
| | |||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 1 | -2/+178 |
| | | | | | | | | | | | | | | | | 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). | ||||
* | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 2022-09-12 | 1 | -10/+10 |
| | | | | | | * Fix a crash on line endings in footnote definitions * Fix to match spaces and tabs in identifiers to `cmark-gfm` * Fix order of one attribute | ||||
* | Add mdx expression (flow, text) | Titus Wormer | 2022-09-09 | 1 | -0/+18 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 1 | -0/+9 |
| | |||||
* | Add support for recoverable syntax errors | Titus Wormer | 2022-09-07 | 1 | -29/+74 |
| | |||||
* | Add initial states for MDX JSX (text) | Titus Wormer | 2022-09-06 | 1 | -0/+29 |
| | |||||
* | Add support for GFM tagfilter | Titus Wormer | 2022-09-01 | 1 | -0/+47 |
| | |||||
* | Add support for GFM tables | Titus Wormer | 2022-08-31 | 1 | -0/+13 |
| | |||||
* | Add support for math (flow) | Titus Wormer | 2022-08-26 | 1 | -1/+13 |
| | |||||
* | Add support for math (text) | Titus Wormer | 2022-08-26 | 1 | -45/+99 |
| | |||||
* | Add support for GFM footnotes | Titus Wormer | 2022-08-25 | 1 | -16/+238 |
| | |||||
* | Add support for GFM task list item | Titus Wormer | 2022-08-22 | 1 | -0/+9 |
| | |||||
* | Add support for GFM strikethrough | Titus Wormer | 2022-08-22 | 1 | -1/+60 |
| | |||||
* | Refactor to move more things to `util/` | Titus Wormer | 2022-08-19 | 1 | -2/+0 |
| | |||||
* | Add support for GFM autolink literals | Titus Wormer | 2022-08-18 | 1 | -0/+21 |
| | |||||
* | Add `no_std + alloc` | Titus Wormer | 2022-08-16 | 1 | -0/+5 |
| | |||||
* | Add support for frontmatter | Titus Wormer | 2022-08-16 | 1 | -0/+12 |
| | |||||
* | Add derive of `Eq` where possible | Titus Wormer | 2022-08-15 | 1 | -1/+1 |
| | |||||
* | Refactor to move `content` to `construct` | Titus Wormer | 2022-08-15 | 1 | -1/+0 |
| | |||||
* | Refactor to rename list construct to list item | Titus Wormer | 2022-08-15 | 1 | -3/+3 |
| | |||||
* | Refactor to improve docs of each function | Titus Wormer | 2022-08-12 | 1 | -1/+1 |
| | |||||
* | Remove boxes around resolvers | Titus Wormer | 2022-08-11 | 1 | -0/+1 |
| | |||||
* | Refactor to move some code to `event.rs` | Titus Wormer | 2022-08-11 | 1 | -1/+1 |
| | |||||
* | Refactor to move some code to `state.rs` | Titus Wormer | 2022-08-11 | 1 | -0/+1 |
| | |||||
* | Refactor to improve states | Titus Wormer | 2022-07-29 | 1 | -2/+2 |
| | | | | | | | | | | | | * 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` | ||||
* | Refactor to work on bytes (`u8`) | Titus Wormer | 2022-07-29 | 1 | -1/+1 |
| | |||||
* | Refactor to work on `char`s | Titus Wormer | 2022-07-28 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Remove unneeded `rust` language flags | Titus Wormer | 2022-07-19 | 1 | -6/+6 |
| | |||||
* | Change to improve `default_line_ending` api | Titus Wormer | 2022-07-18 | 1 | -4/+4 |
| | |||||
* | Add support for turning off constructs | Titus Wormer | 2022-07-18 | 1 | -9/+223 |
| | |||||
* | Refactor to move options to `lib/` | Titus Wormer | 2022-07-18 | 1 | -1/+159 |
| | |||||
* | Refactor to move token types to `token` | Titus Wormer | 2022-07-07 | 1 | -0/+1 |
| | |||||
* | Refactor to do some to dos | Titus Wormer | 2022-07-05 | 1 | -2/+2 |
| |