Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to use default trait in tests | Titus Wormer | 2022-10-14 | 1 | -17/+8 |
| | |||||
* | Add more tests for whitespace in jsx tags | Titus Wormer | 2022-10-13 | 1 | -0/+72 |
| | |||||
* | Rename crate to `markdown` | Titus Wormer | 2022-10-13 | 1 | -141/+139 |
| | |||||
* | Refactor to use a bunch of `into` | Titus Wormer | 2022-10-11 | 1 | -42/+36 |
| | |||||
* | Add support for proper positional info in swc tree | Titus Wormer | 2022-10-11 | 1 | -2/+8 |
| | | | | | | | | | | * 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 | -26/+38 |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | Titus Wormer | 2022-10-06 | 1 | -0/+91 |
| | |||||
* | Add support for turning mdast to hast | Titus Wormer | 2022-09-28 | 1 | -3/+5 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 1 | -1/+273 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 1 | -48/+48 |
| | | | | | | | | | | | | | | | | 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). | ||||
* | Add docs for mdx expressions | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Add support for mdx attribute (value) expressions | Titus Wormer | 2022-09-09 | 1 | -160/+142 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 1 | -0/+24 |
| | |||||
* | Add tests for mdx jsx (text) | Titus Wormer | 2022-09-08 | 1 | -0/+821 |