Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test for non-empty blank lines in footnotes | Titus Wormer | 2022-10-13 | 1 | -0/+17 |
| | |||||
* | Add tests for numeric character references in mdast | Titus Wormer | 2022-10-13 | 1 | -5/+5 |
| | |||||
* | Fix cr, crlf in code (fenced) for mdast | Titus Wormer | 2022-10-13 | 1 | -0/+28 |
| | |||||
* | Add a lot of tests on how mdast, unist work | Titus Wormer | 2022-10-13 | 1 | -5/+233 |
| | |||||
* | Add more tests for whitespace in jsx tags | Titus Wormer | 2022-10-13 | 1 | -0/+72 |
| | |||||
* | Add a bunch more tests for frontmatter | Titus Wormer | 2022-10-13 | 1 | -0/+54 |
| | |||||
* | Add another test for setext heading underlines after definitions | Titus Wormer | 2022-10-13 | 1 | -1/+7 |
| | |||||
* | Rename crate to `markdown` | Titus Wormer | 2022-10-13 | 60 | -2556/+2544 |
| | |||||
* | Add internals to compile JSX away (wip) | Titus Wormer | 2022-10-12 | 4 | -1/+377 |
| | |||||
* | Refactor some internals to accept mutable references | Titus Wormer | 2022-10-11 | 4 | -16/+12 |
| | |||||
* | Refactor test utilities to improve names | Titus Wormer | 2022-10-11 | 13 | -240/+304 |
| | |||||
* | Refactor to use a bunch of `into` | Titus Wormer | 2022-10-11 | 34 | -203/+193 |
| | |||||
* | Refactor some hidden internals | Titus Wormer | 2022-10-11 | 2 | -8/+8 |
| | |||||
* | Add support for proper positional info in swc tree | Titus Wormer | 2022-10-11 | 17 | -446/+884 |
| | | | | | | | | | | * 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 improve `to_hast` internals | Titus Wormer | 2022-10-06 | 2 | -828/+624 |
| | |||||
* | Refactor to split parse from compile options | Titus Wormer | 2022-10-06 | 43 | -314/+627 |
| | |||||
* | Refactor to share identifier methods | Titus Wormer | 2022-10-06 | 1 | -15/+5 |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | Titus Wormer | 2022-10-06 | 1 | -0/+91 |
| | |||||
* | 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 | 5 | -2/+1549 |
| | |||||
* | 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 | 7 | -92/+1479 |
| | |||||
* | 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 | 46 | -348/+3718 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 34 | -38/+1556 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 9 | -417/+941 |
| | | | | | | | | | | | | | | | | 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 | Titus Wormer | 2022-09-14 | 3 | -1/+43 |
| | | | | | | | | | | | | | | 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 | 1 | -2/+14 |
| | |||||
* | Fix gfm email autolink literals overlapping | Titus Wormer | 2022-09-12 | 1 | -2/+17 |
| | |||||
* | Fix blank lines in labels | Titus Wormer | 2022-09-12 | 1 | -0/+14 |
| | |||||
* | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 2022-09-12 | 1 | -109/+177 |
| | | | | | | * 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 docs for mdx expressions | Titus Wormer | 2022-09-09 | 1 | -1/+1 |
| | |||||
* | Add support for mdx attribute (value) expressions | Titus Wormer | 2022-09-09 | 2 | -170/+167 |
| | |||||
* | Add mdx expression (flow, text) | Titus Wormer | 2022-09-09 | 3 | -5/+512 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 2 | -0/+154 |
| | |||||
* | Add tests for mdx jsx (text) | Titus Wormer | 2022-09-08 | 1 | -0/+821 |
| | |||||
* | Add support for recoverable syntax errors | Titus Wormer | 2022-09-07 | 40 | -1289/+1371 |
| | |||||
* | Add support for `mailto:`, `xmpp:` protocols | Titus Wormer | 2022-09-05 | 1 | -0/+43 |
| | |||||
* | Fix to implement GFM autolink literals exactly | Titus Wormer | 2022-09-05 | 1 | -2/+2440 |
| | |||||
* | Add support for GFM tagfilter | Titus Wormer | 2022-09-01 | 1 | -0/+121 |
| | |||||
* | Add support for GFM tables | Titus Wormer | 2022-08-31 | 2 | -0/+1794 |
| | |||||
* | Add support for math (flow) | Titus Wormer | 2022-08-26 | 2 | -30/+274 |
| | |||||
* | Add support for math (text) | Titus Wormer | 2022-08-26 | 1 | -0/+190 |
| | |||||
* | Add support for GFM footnotes | Titus Wormer | 2022-08-25 | 1 | -0/+1530 |
| | |||||
* | Fix lazy paragraph after definition | Titus Wormer | 2022-08-22 | 3 | -0/+30 |
| | |||||
* | Add support for GFM task list item | Titus Wormer | 2022-08-22 | 1 | -0/+236 |
| | |||||
* | Add support for GFM strikethrough | Titus Wormer | 2022-08-22 | 1 | -0/+387 |
| | |||||
* | Add support for GFM autolink literals | Titus Wormer | 2022-08-18 | 1 | -0/+256 |
| | |||||
* | Add `pretty_assertions` to tests for diffs | Titus Wormer | 2022-08-18 | 32 | -0/+33 |
| |