Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor some hidden internals | Titus Wormer | 2022-10-11 | 5 | -35/+21 |
| | |||||
* | Add some missing internal docs | Titus Wormer | 2022-10-11 | 5 | -22/+66 |
| | |||||
* | Add improved docs to public api | Titus Wormer | 2022-10-11 | 3 | -113/+342 |
| | |||||
* | Add support for proper positional info in swc tree | Titus Wormer | 2022-10-11 | 26 | -581/+1182 |
| | | | | | | | | | | * 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` | ||||
* | Update fuzzer to support new options format, add mdast fuzzing | Christian Murphy | 2022-10-07 | 1 | -4/+3 |
| | | | Closes GH-9. | ||||
* | Refactor to improve `to_hast` internals | Titus Wormer | 2022-10-06 | 2 | -828/+624 |
| | |||||
* | Refactor to split parse from compile options | Titus Wormer | 2022-10-06 | 49 | -516/+941 |
| | |||||
* | Refactor to share identifier methods | Titus Wormer | 2022-10-06 | 5 | -40/+63 |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | Titus Wormer | 2022-10-06 | 8 | -135/+584 |
| | |||||
* | Add support for form feeds as html whitespace | Titus Wormer | 2022-10-05 | 1 | -2/+1 |
| | |||||
* | Add support for rewriting JSX | Titus Wormer | 2022-10-05 | 6 | -3/+1551 |
| | |||||
* | Refactor to share a test utility | Titus Wormer | 2022-10-04 | 5 | -199/+234 |
| | |||||
* | Add support for creating a component, using layout | Titus Wormer | 2022-10-03 | 5 | -2/+883 |
| | |||||
* | Add support for turning hast into swc | Titus Wormer | 2022-09-30 | 9 | -99/+1480 |
| | |||||
* | Update dev-dependencies | Titus Wormer | 2022-09-29 | 1 | -3/+3 |
| | |||||
* | Add inline clippy config | Titus Wormer | 2022-09-29 | 3 | -4/+5 |
| | |||||
* | Add note on future idea | Titus Wormer | 2022-09-29 | 1 | -0/+4 |
| | |||||
* | Add support for turning mdast to hast | Titus Wormer | 2022-09-28 | 64 | -467/+3851 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 45 | -655/+4105 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add structs, enums for `mdast` | Titus Wormer | 2022-09-19 | 5 | -16/+1134 |
| | |||||
* | Add notes on fuzz testing to `readme.md` | Titus Wormer | 2022-09-19 | 1 | -1/+2 |
| | |||||
* | Remove private APIs from site | Titus Wormer | 2022-09-19 | 1 | -1/+1 |
| | |||||
* | Update `readme.md` | Titus Wormer | 2022-09-19 | 1 | -5/+3 |
| | |||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 22 | -445/+1573 |
| | | | | | | | | | | | | | | | | 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 clippy allow for wrong rule in actions | Titus Wormer | 2022-09-14 | 1 | -1/+1 |
| | |||||
* | Fix to prefer flow over definitions, setext headings | Titus Wormer | 2022-09-14 | 26 | -355/+724 |
| | | | | | | | | | | | | | | An undocumented part of CommonMark is how to deal with things in definition labels or definition titles (which both can span multiple lines). Can flow (or containers?) interrupt them? They can according to the `cmark` reference parser, so this was implemented here. This adds a new `Content` content type, which houses zero or more definitions, and then zero-or-one paragraphs. Content can be followed by a setext heading underline, which either turns into a setext heading when the content ends in a paragraph, or turns into the start of the following paragraph when it is followed by content that starts with a paragraph, or turns into a stray paragraph. | ||||
* | Fix containers piercing into indented code | Titus Wormer | 2022-09-12 | 3 | -4/+16 |
| | |||||
* | Fix gfm email autolink literals overlapping | Titus Wormer | 2022-09-12 | 3 | -16/+31 |
| | |||||
* | Fix blank lines in labels | Titus Wormer | 2022-09-12 | 2 | -1/+16 |
| | |||||
* | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 2022-09-12 | 6 | -142/+303 |
| | | | | | | * 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 fuzz testing | Christian Murphy | 2022-09-12 | 4 | -0/+49 |
| | | | Closes GH-7. | ||||
* | Add section on syntax errors to readme | Titus Wormer | 2022-09-09 | 1 | -0/+8 |
| | |||||
* | Update count in readme | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Fix typo | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Refactor list ordering in readme | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Fix typo | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Add some numbers to readme | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Add example of syntax highlighting to readme | Titus Wormer | 2022-09-09 | 1 | -0/+94 |
| | |||||
* | Add MDX extensions to readme | Titus Wormer | 2022-09-09 | 1 | -2/+8 |
| | |||||
* | Add mdx example | Titus Wormer | 2022-09-09 | 1 | -0/+14 |
| | |||||
* | Add docs for mdx expressions | Titus Wormer | 2022-09-09 | 5 | -31/+294 |
| | |||||
* | Add support for mdx attribute (value) expressions | Titus Wormer | 2022-09-09 | 6 | -180/+248 |
| | |||||
* | Add mdx expression (flow, text) | Titus Wormer | 2022-09-09 | 14 | -17/+818 |
| | |||||
* | Add some missing docs | Titus Wormer | 2022-09-09 | 1 | -14/+9 |
| | |||||
* | Fix to allow blank lines in mdx jsx (flow) | Titus Wormer | 2022-09-09 | 2 | -50/+22 |
| | |||||
* | Refactor to move byte, char info to own file | Titus Wormer | 2022-09-09 | 9 | -215/+225 |
| | |||||
* | Add docs to mdx jsx | Titus Wormer | 2022-09-09 | 3 | -4/+355 |
| | |||||
* | Refactor to order states | Titus Wormer | 2022-09-08 | 1 | -197/+194 |
| | |||||
* | Add docs to mdx jsx events | Titus Wormer | 2022-09-08 | 1 | -24/+437 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 10 | -95/+373 |
| |