Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix parsing of nested links | Fedor Sheremetyev | 2023-07-10 | 1 | -1/+23 |
| | | | | | | | | Enter event for `LabelText` should be inserted before existing events at the index in order to have correct nesting. Otherwise nested elements could have Enter event first and that would result in incorrect nesting in the tree when converting to AST. Closes GH-73. Closes GH-50. | ||||
* | Fix crash in MDX whitespace | Mick van Gelderen | 2023-04-22 | 1 | -0/+12 |
| | | | | Related-to: GH-26. Closes GH-60. | ||||
* | Add support for serializing trees as JSON | Kyle McCarthy | 2023-01-03 | 1 | -4/+10 |
| | | | | | | | | | This adds support for serializing the mdast syntax tree as JSON, with serde, through a feature. Closes GH-10. Related-to GH-30. Closes GH-37. | ||||
* | Fix `start` on ordered lists in mdast | Titus Wormer | 2022-12-19 | 1 | -14/+28 |
| | | | | Closes GH-38. | ||||
* | Replace build script with private crate | Titus Wormer | 2022-12-13 | 1 | -1/+1 |
| | | | | | Closes GH-34. Closes GH-35. | ||||
* | Add test for empty ast | Titus Wormer | 2022-12-13 | 1 | -2/+17 |
| | |||||
* | Update tests for changes in `swc` | Titus Wormer | 2022-12-13 | 4 | -8/+8 |
| | |||||
* | Remove unneeded tests | Titus Wormer | 2022-11-25 | 17 | -8100/+158 |
| | |||||
* | Fix double setext heading underlines | Titus Wormer | 2022-11-25 | 1 | -0/+6 |
| | | | | Related-to: GH-22. | ||||
* | Fix GFM task list checkboxes followed by eol | Titus Wormer | 2022-11-25 | 2 | -1/+67 |
| | | | | Closes GH-24. | ||||
* | Remove unneeded `extern crate`s | Hocdoc | 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 | Titus Wormer | 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 | Titus Wormer | 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 | Titus Wormer | 2022-10-28 | 1 | -0/+18 |
| | | | | Related-to: GH-20. | ||||
* | Fix GFM autolink literals after tabs | Titus Wormer | 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 | Titus Wormer | 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 | Titus Wormer | 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 | Titus Wormer | 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 | Titus Wormer | 2022-10-25 | 1 | -0/+18 |
| | | | | | Closes GH-13. Closes GH-14. | ||||
* | Fix lists in MDX | Titus Wormer | 2022-10-25 | 1 | -0/+6 |
| | | | | Closes GH-11. | ||||
* | Refactor to use default trait in tests | Titus Wormer | 2022-10-14 | 42 | -543/+429 |
| | |||||
* | Add some more tests on mdx and indented code | Titus Wormer | 2022-10-14 | 2 | -0/+38 |
| | |||||
* | Add test for broken jsx and containers | Titus Wormer | 2022-10-13 | 1 | -4/+13 |
| | |||||
* | Remove some unused code in gfm tables | Titus Wormer | 2022-10-13 | 1 | -0/+19 |
| | |||||
* | Add test for raw html w/o `>` after closing tag | Titus Wormer | 2022-10-13 | 1 | -0/+6 |
| | |||||
* | Add test for mdx and indented code | Titus Wormer | 2022-10-13 | 2 | -0/+38 |
| | |||||
* | 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 |
| |