aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing of nested linksLibravatar Fedor Sheremetyev2023-07-101-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 whitespaceLibravatar Mick van Gelderen2023-04-221-0/+12
| | | | Related-to: GH-26. Closes GH-60.
* Add support for serializing trees as JSONLibravatar Kyle McCarthy2023-01-031-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 mdastLibravatar Titus Wormer2022-12-191-14/+28
| | | | Closes GH-38.
* Replace build script with private crateLibravatar Titus Wormer2022-12-131-1/+1
| | | | | Closes GH-34. Closes GH-35.
* Add test for empty astLibravatar Titus Wormer2022-12-131-2/+17
|
* Update tests for changes in `swc`Libravatar Titus Wormer2022-12-134-8/+8
|
* Remove unneeded testsLibravatar Titus Wormer2022-11-2517-8100/+158
|
* Fix double setext heading underlinesLibravatar Titus Wormer2022-11-251-0/+6
| | | | Related-to: GH-22.
* Fix GFM task list checkboxes followed by eolLibravatar Titus Wormer2022-11-252-1/+67
| | | | Closes GH-24.
* Remove unneeded `extern crate`sLibravatar Hocdoc2022-11-1057-74/+1
| | | | | Closes GH-28. Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
* Fix attention starting and ending in different linksLibravatar Titus Wormer2022-10-291-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 pipesLibravatar Titus Wormer2022-10-281-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 rowLibravatar Titus Wormer2022-10-281-0/+18
| | | | Related-to: GH-20.
* Fix GFM autolink literals after tabsLibravatar Titus Wormer2022-10-261-0/+24
| | | | | | Closes GH-18. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
* Fix GFM tables interfering with other constructsLibravatar Titus Wormer2022-10-261-0/+6
| | | | | | Closes GH-19. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
* Fix container close after unclosed fenced code, w/ eolLibravatar Titus Wormer2022-10-261-0/+12
| | | | | | Closes GH-16 Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
* Fix type of `start` on list in mdastLibravatar Titus Wormer2022-10-251-3/+11
| | | | | | Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
* Fix trailing whitespace around broken dataLibravatar Titus Wormer2022-10-251-0/+18
| | | | | Closes GH-13. Closes GH-14.
* Fix lists in MDXLibravatar Titus Wormer2022-10-251-0/+6
| | | | Closes GH-11.
* Refactor to use default trait in testsLibravatar Titus Wormer2022-10-1442-543/+429
|
* Add some more tests on mdx and indented codeLibravatar Titus Wormer2022-10-142-0/+38
|
* Add test for broken jsx and containersLibravatar Titus Wormer2022-10-131-4/+13
|
* Remove some unused code in gfm tablesLibravatar Titus Wormer2022-10-131-0/+19
|
* Add test for raw html w/o `>` after closing tagLibravatar Titus Wormer2022-10-131-0/+6
|
* Add test for mdx and indented codeLibravatar Titus Wormer2022-10-132-0/+38
|
* Add test for non-empty blank lines in footnotesLibravatar Titus Wormer2022-10-131-0/+17
|
* Add tests for numeric character references in mdastLibravatar Titus Wormer2022-10-131-5/+5
|
* Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer2022-10-131-0/+28
|
* Add a lot of tests on how mdast, unist workLibravatar Titus Wormer2022-10-131-5/+233
|
* Add more tests for whitespace in jsx tagsLibravatar Titus Wormer2022-10-131-0/+72
|
* Add a bunch more tests for frontmatterLibravatar Titus Wormer2022-10-131-0/+54
|
* Add another test for setext heading underlines after definitionsLibravatar Titus Wormer2022-10-131-1/+7
|
* Rename crate to `markdown`Libravatar Titus Wormer2022-10-1360-2556/+2544
|
* Add internals to compile JSX away (wip)Libravatar Titus Wormer2022-10-124-1/+377
|
* Refactor some internals to accept mutable referencesLibravatar Titus Wormer2022-10-114-16/+12
|
* Refactor test utilities to improve namesLibravatar Titus Wormer2022-10-1113-240/+304
|
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-1134-203/+193
|
* Refactor some hidden internalsLibravatar Titus Wormer2022-10-112-8/+8
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-1117-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` internalsLibravatar Titus Wormer2022-10-062-828/+624
|
* Refactor to split parse from compile optionsLibravatar Titus Wormer2022-10-0643-314/+627
|
* Refactor to share identifier methodsLibravatar Titus Wormer2022-10-061-15/+5
|
* Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer2022-10-061-0/+91
|
* Add support for form feeds as html whitespaceLibravatar Titus Wormer2022-10-051-2/+1
|
* Add support for rewriting JSXLibravatar Titus Wormer2022-10-055-2/+1549
|
* Refactor to share a test utilityLibravatar Titus Wormer2022-10-045-199/+234
|
* Add support for creating a component, using layoutLibravatar Titus Wormer2022-10-035-2/+883
|
* Add support for turning hast into swcLibravatar Titus Wormer2022-09-307-92/+1479
|
* Add note on future ideaLibravatar Titus Wormer2022-09-291-0/+4
|