Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace build script with private crate | 2022-12-13 | 1 | -1/+1 | |
| | | | | | Closes GH-34. Closes GH-35. | ||||
* | Add test for empty ast | 2022-12-13 | 1 | -2/+17 | |
| | |||||
* | Update tests for changes in `swc` | 2022-12-13 | 4 | -8/+8 | |
| | |||||
* | Remove unneeded tests | 2022-11-25 | 17 | -8100/+158 | |
| | |||||
* | Fix double setext heading underlines | 2022-11-25 | 1 | -0/+6 | |
| | | | | Related-to: GH-22. | ||||
* | Fix GFM task list checkboxes followed by eol | 2022-11-25 | 2 | -1/+67 | |
| | | | | Closes GH-24. | ||||
* | Remove unneeded `extern crate`s | 2022-11-10 | 57 | -74/+1 | |
| | | | | | Closes GH-28. Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com> | ||||
* | Fix attention starting and ending in different links | 2022-10-29 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | Example: ```markdown [*]() [*]() ``` There was already code for: ```markdown [*]() x*. *x [*](). ``` But that wasn’t correct for attention at the same depth but in different places. Closes GH-21. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix GFM autolink literals that end in in GFM table pipes | 2022-10-28 | 1 | -0/+6 | |
| | | | | | | Closes GH-20. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix GFM tables to require a non-pipe in header row | 2022-10-28 | 1 | -0/+18 | |
| | | | | Related-to: GH-20. | ||||
* | Fix GFM autolink literals after tabs | 2022-10-26 | 1 | -0/+24 | |
| | | | | | | Closes GH-18. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix GFM tables interfering with other constructs | 2022-10-26 | 1 | -0/+6 | |
| | | | | | | Closes GH-19. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix container close after unclosed fenced code, w/ eol | 2022-10-26 | 1 | -0/+12 | |
| | | | | | | Closes GH-16 Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix type of `start` on list in mdast | 2022-10-25 | 1 | -3/+11 | |
| | | | | | | Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Fix trailing whitespace around broken data | 2022-10-25 | 1 | -0/+18 | |
| | | | | | Closes GH-13. Closes GH-14. | ||||
* | Fix lists in MDX | 2022-10-25 | 1 | -0/+6 | |
| | | | | Closes GH-11. | ||||
* | Refactor to use default trait in tests | 2022-10-14 | 42 | -543/+429 | |
| | |||||
* | Add some more tests on mdx and indented code | 2022-10-14 | 2 | -0/+38 | |
| | |||||
* | Add test for broken jsx and containers | 2022-10-13 | 1 | -4/+13 | |
| | |||||
* | Remove some unused code in gfm tables | 2022-10-13 | 1 | -0/+19 | |
| | |||||
* | Add test for raw html w/o `>` after closing tag | 2022-10-13 | 1 | -0/+6 | |
| | |||||
* | Add test for mdx and indented code | 2022-10-13 | 2 | -0/+38 | |
| | |||||
* | Add test for non-empty blank lines in footnotes | 2022-10-13 | 1 | -0/+17 | |
| | |||||
* | Add tests for numeric character references in mdast | 2022-10-13 | 1 | -5/+5 | |
| | |||||
* | Fix cr, crlf in code (fenced) for mdast | 2022-10-13 | 1 | -0/+28 | |
| | |||||
* | Add a lot of tests on how mdast, unist work | 2022-10-13 | 1 | -5/+233 | |
| | |||||
* | Add more tests for whitespace in jsx tags | 2022-10-13 | 1 | -0/+72 | |
| | |||||
* | Add a bunch more tests for frontmatter | 2022-10-13 | 1 | -0/+54 | |
| | |||||
* | Add another test for setext heading underlines after definitions | 2022-10-13 | 1 | -1/+7 | |
| | |||||
* | Rename crate to `markdown` | 2022-10-13 | 60 | -2556/+2544 | |
| | |||||
* | Add internals to compile JSX away (wip) | 2022-10-12 | 4 | -1/+377 | |
| | |||||
* | Refactor some internals to accept mutable references | 2022-10-11 | 4 | -16/+12 | |
| | |||||
* | Refactor test utilities to improve names | 2022-10-11 | 13 | -240/+304 | |
| | |||||
* | Refactor to use a bunch of `into` | 2022-10-11 | 34 | -203/+193 | |
| | |||||
* | Refactor some hidden internals | 2022-10-11 | 2 | -8/+8 | |
| | |||||
* | Add support for proper positional info in swc tree | 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 | 2022-10-06 | 2 | -828/+624 | |
| | |||||
* | Refactor to split parse from compile options | 2022-10-06 | 43 | -314/+627 | |
| | |||||
* | Refactor to share identifier methods | 2022-10-06 | 1 | -15/+5 | |
| | |||||
* | Add support for HTML 4 character references in JSX attributes | 2022-10-06 | 1 | -0/+91 | |
| | |||||
* | Add support for form feeds as html whitespace | 2022-10-05 | 1 | -2/+1 | |
| | |||||
* | Add support for rewriting JSX | 2022-10-05 | 5 | -2/+1549 | |
| | |||||
* | Refactor to share a test utility | 2022-10-04 | 5 | -199/+234 | |
| | |||||
* | Add support for creating a component, using layout | 2022-10-03 | 5 | -2/+883 | |
| | |||||
* | Add support for turning hast into swc | 2022-09-30 | 7 | -92/+1479 | |
| | |||||
* | Add note on future idea | 2022-09-29 | 1 | -0/+4 | |
| | |||||
* | Add support for turning mdast to hast | 2022-09-28 | 46 | -348/+3718 | |
| | |||||
* | Add support for compiling to mdast | 2022-09-26 | 34 | -38/+1556 | |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add support for parsing MDX ESM, expressions | 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 | 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. |