Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor to attempt to fix some coverage bugs | 2022-10-14 | 1 | -1/+6 | |
| | |||||
* | Refactor slice algorithms some more | 2022-10-14 | 1 | -24/+13 | |
| | |||||
* | Attempt to fix broken tarpaulin | 2022-10-14 | 1 | -0/+2 | |
| | |||||
* | Add some tests for mdx parse types, `must_use` | 2022-10-14 | 1 | -0/+60 | |
| | |||||
* | Add some unit tests for core api | 2022-10-14 | 1 | -10/+198 | |
| | |||||
* | Refactor some code to improve coverage | 2022-10-14 | 1 | -14/+10 | |
| | |||||
* | Add some tests for line endings | 2022-10-14 | 1 | -4/+56 | |
| | |||||
* | Remove some unused code around slices | 2022-10-14 | 5 | -83/+19 | |
| | |||||
* | Fix positional info of cr+lf in mdx | 2022-10-14 | 1 | -0/+88 | |
| | |||||
* | Add some more tests on mdx and indented code | 2022-10-14 | 1 | -0/+6 | |
| | |||||
* | Refactor some code to improve coverage | 2022-10-13 | 2 | -5/+3 | |
| | |||||
* | Replace some unused code for assertions | 2022-10-13 | 2 | -23/+19 | |
| | |||||
* | Add some unit tests for internal character functions | 2022-10-13 | 1 | -15/+102 | |
| | |||||
* | Replace some unused code with assertions | 2022-10-13 | 1 | -8/+10 | |
| | |||||
* | Remove some unused code in gfm tables | 2022-10-13 | 2 | -29/+7 | |
| | |||||
* | Remove some unused code | 2022-10-13 | 3 | -25/+19 | |
| | |||||
* | Add missing test for mdast | 2022-10-13 | 1 | -0/+32 | |
| | |||||
* | Refactor some code to improve coverage | 2022-10-13 | 5 | -85/+62 | |
| | |||||
* | Fix cr, crlf in code (fenced) for mdast | 2022-10-13 | 1 | -3/+3 | |
| | |||||
* | Add a lot of tests on how mdast, unist work | 2022-10-13 | 2 | -37/+921 | |
| | |||||
* | Add a couple tests for `Debug` on unist interfaces | 2022-10-13 | 1 | -0/+23 | |
| | |||||
* | Refactor to improve coverage with assertion | 2022-10-13 | 1 | -6/+2 | |
| | |||||
* | Refactor to improve coverage of titles | 2022-10-13 | 2 | -12/+8 | |
| | |||||
* | Add more tests for whitespace in jsx tags | 2022-10-13 | 1 | -10/+2 | |
| | |||||
* | Add a bunch more tests for frontmatter | 2022-10-13 | 1 | -9/+6 | |
| | |||||
* | Remove unneeded states in `partial_label` | 2022-10-13 | 2 | -50/+15 | |
| | |||||
* | Remove unneeded code from `gfm_autolink_literal` | 2022-10-13 | 1 | -91/+9 | |
| | |||||
* | Add logo to crate docs | 2022-10-13 | 1 | -3/+4 | |
| | |||||
* | Rename crate to `markdown` | 2022-10-13 | 9 | -95/+97 | |
| | |||||
* | Add note about crate logo | 2022-10-12 | 1 | -0/+3 | |
| | |||||
* | Refactor to improve some module docs | 2022-10-12 | 12 | -22/+24 | |
| | |||||
* | Refactor to use a bunch of `into` | 2022-10-11 | 8 | -30/+23 | |
| | |||||
* | Refactor some hidden internals | 2022-10-11 | 3 | -27/+13 | |
| | |||||
* | Add some missing internal docs | 2022-10-11 | 5 | -22/+66 | |
| | |||||
* | Add improved docs to public api | 2022-10-11 | 2 | -112/+342 | |
| | |||||
* | Add support for proper positional info in swc tree | 2022-10-11 | 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` | ||||
* | Refactor to split parse from compile options | 2022-10-06 | 3 | -179/+273 | |
| | |||||
* | Refactor to share identifier methods | 2022-10-06 | 4 | -25/+58 | |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | 2022-10-06 | 7 | -135/+493 | |
| | |||||
* | Add support for turning hast into swc | 2022-09-30 | 1 | -7/+0 | |
| | |||||
* | Add inline clippy config | 2022-09-29 | 1 | -0/+3 | |
| | |||||
* | Add support for turning mdast to hast | 2022-09-28 | 16 | -117/+130 | |
| | |||||
* | Add support for compiling to mdast | 2022-09-26 | 7 | -546/+2486 | |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add structs, enums for `mdast` | 2022-09-19 | 4 | -14/+1128 | |
| | |||||
* | Add support for parsing MDX ESM, expressions | 2022-09-19 | 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). | ||||
* | Fix to prefer flow over definitions, setext headings | 2022-09-14 | 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. | ||||
* | Fix containers piercing into indented code | 2022-09-12 | 2 | -2/+2 | |
| | |||||
* | Fix gfm email autolink literals overlapping | 2022-09-12 | 2 | -14/+14 | |
| | |||||
* | Fix blank lines in labels | 2022-09-12 | 1 | -1/+2 | |
| | |||||
* | Fix whitespace in GFM footnote definition identifiers | 2022-09-12 | 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 |