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