aboutsummaryrefslogtreecommitdiffstats
path: root/tests (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-03Add support for serializing trees as JSONLibravatar Kyle McCarthy1-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.
2022-12-19Fix `start` on ordered lists in mdastLibravatar Titus Wormer1-14/+28
Closes GH-38.
2022-12-13Replace build script with private crateLibravatar Titus Wormer1-1/+1
Closes GH-34. Closes GH-35.
2022-12-13Add test for empty astLibravatar Titus Wormer1-2/+17
2022-12-13Update tests for changes in `swc`Libravatar Titus Wormer4-8/+8
2022-11-25Remove unneeded testsLibravatar Titus Wormer17-8100/+158
2022-11-25Fix double setext heading underlinesLibravatar Titus Wormer1-0/+6
Related-to: GH-22.
2022-11-25Fix GFM task list checkboxes followed by eolLibravatar Titus Wormer2-1/+67
Closes GH-24.
2022-11-10Remove unneeded `extern crate`sLibravatar Hocdoc57-74/+1
Closes GH-28. Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
2022-10-29Fix attention starting and ending in different linksLibravatar Titus Wormer1-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-28Fix GFM autolink literals that end in in GFM table pipesLibravatar Titus Wormer1-0/+6
Closes GH-20. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-28Fix GFM tables to require a non-pipe in header rowLibravatar Titus Wormer1-0/+18
Related-to: GH-20.
2022-10-26Fix GFM autolink literals after tabsLibravatar Titus Wormer1-0/+24
Closes GH-18. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-26Fix GFM tables interfering with other constructsLibravatar Titus Wormer1-0/+6
Closes GH-19. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-26Fix container close after unclosed fenced code, w/ eolLibravatar Titus Wormer1-0/+12
Closes GH-16 Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-25Fix type of `start` on list in mdastLibravatar Titus Wormer1-3/+11
Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-25Fix trailing whitespace around broken dataLibravatar Titus Wormer1-0/+18
Closes GH-13. Closes GH-14.
2022-10-25Fix lists in MDXLibravatar Titus Wormer1-0/+6
Closes GH-11.
2022-10-14Refactor to use default trait in testsLibravatar Titus Wormer42-543/+429
2022-10-14Add some more tests on mdx and indented codeLibravatar Titus Wormer2-0/+38
2022-10-13Add test for broken jsx and containersLibravatar Titus Wormer1-4/+13
2022-10-13Remove some unused code in gfm tablesLibravatar Titus Wormer1-0/+19
2022-10-13Add test for raw html w/o `>` after closing tagLibravatar Titus Wormer1-0/+6
2022-10-13Add test for mdx and indented codeLibravatar Titus Wormer2-0/+38
2022-10-13Add test for non-empty blank lines in footnotesLibravatar Titus Wormer1-0/+17
2022-10-13Add tests for numeric character references in mdastLibravatar Titus Wormer1-5/+5
2022-10-13Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer1-0/+28
2022-10-13Add a lot of tests on how mdast, unist workLibravatar Titus Wormer1-5/+233
2022-10-13Add more tests for whitespace in jsx tagsLibravatar Titus Wormer1-0/+72
2022-10-13Add a bunch more tests for frontmatterLibravatar Titus Wormer1-0/+54
2022-10-13Add another test for setext heading underlines after definitionsLibravatar Titus Wormer1-1/+7
2022-10-13Rename crate to `markdown`Libravatar Titus Wormer60-2556/+2544
2022-10-12Add internals to compile JSX away (wip)Libravatar Titus Wormer4-1/+377
2022-10-11Refactor some internals to accept mutable referencesLibravatar Titus Wormer4-16/+12
2022-10-11Refactor test utilities to improve namesLibravatar Titus Wormer13-240/+304
2022-10-11Refactor to use a bunch of `into`Libravatar Titus Wormer34-203/+193
2022-10-11Refactor some hidden internalsLibravatar Titus Wormer2-8/+8
2022-10-11Add support for proper positional info in swc treeLibravatar Titus Wormer17-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-06Refactor to improve `to_hast` internalsLibravatar Titus Wormer2-828/+624
2022-10-06Refactor to split parse from compile optionsLibravatar Titus Wormer43-314/+627
2022-10-06Refactor to share identifier methodsLibravatar Titus Wormer1-15/+5
2022-10-06Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer1-0/+91
2022-10-05Add support for form feeds as html whitespaceLibravatar Titus Wormer1-2/+1
2022-10-05Add support for rewriting JSXLibravatar Titus Wormer5-2/+1549
2022-10-04Refactor to share a test utilityLibravatar Titus Wormer5-199/+234
2022-10-03Add support for creating a component, using layoutLibravatar Titus Wormer5-2/+883
2022-09-30Add support for turning hast into swcLibravatar Titus Wormer7-92/+1479
2022-09-29Add note on future ideaLibravatar Titus Wormer1-0/+4
2022-09-28Add support for turning mdast to hastLibravatar Titus Wormer46-348/+3718
2022-09-26Add support for compiling to mdastLibravatar Titus Wormer34-38/+1556
See: <https://github.com/syntax-tree/mdast>.