Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-10-13 | Remove some unused code | Titus Wormer | 3 | -25/+19 | |
2022-10-13 | Add missing test for mdast | Titus Wormer | 1 | -0/+32 | |
2022-10-13 | Refactor some code to improve coverage | Titus Wormer | 5 | -85/+62 | |
2022-10-13 | Fix cr, crlf in code (fenced) for mdast | Titus Wormer | 1 | -3/+3 | |
2022-10-13 | Add a lot of tests on how mdast, unist work | Titus Wormer | 2 | -37/+921 | |
2022-10-13 | Add a couple tests for `Debug` on unist interfaces | Titus Wormer | 1 | -0/+23 | |
2022-10-13 | Refactor to improve coverage with assertion | Titus Wormer | 1 | -6/+2 | |
2022-10-13 | Refactor to improve coverage of titles | Titus Wormer | 2 | -12/+8 | |
2022-10-13 | Add more tests for whitespace in jsx tags | Titus Wormer | 1 | -10/+2 | |
2022-10-13 | Add a bunch more tests for frontmatter | Titus Wormer | 1 | -9/+6 | |
2022-10-13 | Remove unneeded states in `partial_label` | Titus Wormer | 2 | -50/+15 | |
2022-10-13 | Remove unneeded code from `gfm_autolink_literal` | Titus Wormer | 1 | -91/+9 | |
2022-10-13 | Add logo to crate docs | Titus Wormer | 1 | -3/+4 | |
2022-10-13 | Rename crate to `markdown` | Titus Wormer | 9 | -95/+97 | |
2022-10-12 | Add note about crate logo | Titus Wormer | 1 | -0/+3 | |
2022-10-12 | Refactor to improve some module docs | Titus Wormer | 12 | -22/+24 | |
2022-10-11 | Refactor to use a bunch of `into` | Titus Wormer | 8 | -30/+23 | |
2022-10-11 | Refactor some hidden internals | Titus Wormer | 3 | -27/+13 | |
2022-10-11 | Add some missing internal docs | Titus Wormer | 5 | -22/+66 | |
2022-10-11 | Add improved docs to public api | Titus Wormer | 2 | -112/+342 | |
2022-10-11 | Add support for proper positional info in swc tree | Titus Wormer | 9 | -135/+298 | |
* 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 split parse from compile options | Titus Wormer | 3 | -179/+273 | |
2022-10-06 | Refactor to share identifier methods | Titus Wormer | 4 | -25/+58 | |
2022-10-06 | Add support for HTML 4 character references in JSX attributes | Titus Wormer | 7 | -135/+493 | |
2022-09-30 | Add support for turning hast into swc | Titus Wormer | 1 | -7/+0 | |
2022-09-29 | Add inline clippy config | Titus Wormer | 1 | -0/+3 | |
2022-09-28 | Add support for turning mdast to hast | Titus Wormer | 16 | -117/+130 | |
2022-09-26 | Add support for compiling to mdast | Titus Wormer | 7 | -546/+2486 | |
See: <https://github.com/syntax-tree/mdast>. | |||||
2022-09-19 | Add structs, enums for `mdast` | Titus Wormer | 4 | -14/+1128 | |
2022-09-19 | Add support for parsing MDX ESM, expressions | Titus Wormer | 12 | -27/+628 | |
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-14 | Fix to prefer flow over definitions, setext headings | Titus Wormer | 22 | -353/+680 | |
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. | |||||
2022-09-12 | Fix containers piercing into indented code | Titus Wormer | 2 | -2/+2 | |
2022-09-12 | Fix gfm email autolink literals overlapping | Titus Wormer | 2 | -14/+14 | |
2022-09-12 | Fix blank lines in labels | Titus Wormer | 1 | -1/+2 | |
2022-09-12 | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 5 | -33/+126 | |
* 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 | |||||
2022-09-09 | Add docs for mdx expressions | Titus Wormer | 4 | -30/+293 | |
2022-09-09 | Add support for mdx attribute (value) expressions | Titus Wormer | 4 | -10/+81 | |
2022-09-09 | Add mdx expression (flow, text) | Titus Wormer | 11 | -12/+306 | |
2022-09-09 | Add some missing docs | Titus Wormer | 1 | -14/+9 | |
2022-09-09 | Fix to allow blank lines in mdx jsx (flow) | Titus Wormer | 2 | -50/+22 | |
2022-09-09 | Refactor to move byte, char info to own file | Titus Wormer | 9 | -215/+225 | |
2022-09-09 | Add docs to mdx jsx | Titus Wormer | 3 | -4/+355 | |
2022-09-08 | Refactor to order states | Titus Wormer | 1 | -197/+194 | |
2022-09-08 | Add docs to mdx jsx events | Titus Wormer | 1 | -24/+437 | |
2022-09-08 | Add support for mdx jsx (flow) | Titus Wormer | 8 | -95/+219 | |
2022-09-08 | Refactor to move jsx parsing to partial | Titus Wormer | 4 | -1001/+1014 | |
2022-09-08 | Add tests for mdx jsx (text) | Titus Wormer | 2 | -12/+41 | |
2022-09-07 | Fix debug message | Titus Wormer | 1 | -1/+1 | |
2022-09-07 | Add support for recoverable syntax errors | Titus Wormer | 8 | -97/+175 | |
2022-09-07 | Add support for unicode identifiers in JSX | Titus Wormer | 1 | -24/+95 | |