aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-2846-348/+3718
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-2634-38/+1556
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-199-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 headingsLibravatar Titus Wormer2022-09-143-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.
* Fix containers piercing into indented codeLibravatar Titus Wormer2022-09-121-2/+14
|
* Fix gfm email autolink literals overlappingLibravatar Titus Wormer2022-09-121-2/+17
|
* Fix blank lines in labelsLibravatar Titus Wormer2022-09-121-0/+14
|
* Fix whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2022-09-121-109/+177
| | | | | | * Fix a crash on line endings in footnote definitions * Fix to match spaces and tabs in identifiers to `cmark-gfm` * Fix order of one attribute
* Add docs for mdx expressionsLibravatar Titus Wormer2022-09-091-1/+1
|
* Add support for mdx attribute (value) expressionsLibravatar Titus Wormer2022-09-092-170/+167
|
* Add mdx expression (flow, text)Libravatar Titus Wormer2022-09-093-5/+512
|
* Add support for mdx jsx (flow)Libravatar Titus Wormer2022-09-082-0/+154
|
* Add tests for mdx jsx (text)Libravatar Titus Wormer2022-09-081-0/+821
|
* Add support for recoverable syntax errorsLibravatar Titus Wormer2022-09-0740-1289/+1371
|
* Add support for `mailto:`, `xmpp:` protocolsLibravatar Titus Wormer2022-09-051-0/+43
|
* Fix to implement GFM autolink literals exactlyLibravatar Titus Wormer2022-09-051-2/+2440
|
* Add support for GFM tagfilterLibravatar Titus Wormer2022-09-011-0/+121
|
* Add support for GFM tablesLibravatar Titus Wormer2022-08-312-0/+1794
|
* Add support for math (flow)Libravatar Titus Wormer2022-08-262-30/+274
|
* Add support for math (text)Libravatar Titus Wormer2022-08-261-0/+190
|
* Add support for GFM footnotesLibravatar Titus Wormer2022-08-251-0/+1530
|