aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-1922-445/+1573
| | | | | | | | | | | | | | | | 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).
* Add clippy allow for wrong rule in actionsLibravatar Titus Wormer2022-09-141-1/+1
|
* Fix to prefer flow over definitions, setext headingsLibravatar Titus Wormer2022-09-1426-355/+724
| | | | | | | | | | | | | | 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-123-4/+16
|
* Fix gfm email autolink literals overlappingLibravatar Titus Wormer2022-09-123-16/+31
|
* Fix blank lines in labelsLibravatar Titus Wormer2022-09-122-1/+16
|
* Fix whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2022-09-126-142/+303
| | | | | | * 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 fuzz testingLibravatar Christian Murphy2022-09-124-0/+49
| | | Closes GH-7.
* Add section on syntax errors to readmeLibravatar Titus Wormer2022-09-091-0/+8
|
* Update count in readmeLibravatar Titus Wormer2022-09-091-1/+1
|
* Fix typoLibravatar Titus Wormer2022-09-091-1/+1
|
* Refactor list ordering in readmeLibravatar Titus Wormer2022-09-091-1/+1
|
* Fix typoLibravatar Titus Wormer2022-09-091-1/+1
|
* Add some numbers to readmeLibravatar Titus Wormer2022-09-091-1/+1
|
* Add example of syntax highlighting to readmeLibravatar Titus Wormer2022-09-091-0/+94
|
* Add MDX extensions to readmeLibravatar Titus Wormer2022-09-091-2/+8
|
* Add mdx exampleLibravatar Titus Wormer2022-09-091-0/+14
|
* Add docs for mdx expressionsLibravatar Titus Wormer2022-09-095-31/+294
|
* Add support for mdx attribute (value) expressionsLibravatar Titus Wormer2022-09-096-180/+248
|
* Add mdx expression (flow, text)Libravatar Titus Wormer2022-09-0914-17/+818
|
* Add some missing docsLibravatar Titus Wormer2022-09-091-14/+9
|
* Fix to allow blank lines in mdx jsx (flow)Libravatar Titus Wormer2022-09-092-50/+22
|
* Refactor to move byte, char info to own fileLibravatar Titus Wormer2022-09-099-215/+225
|
* Add docs to mdx jsxLibravatar Titus Wormer2022-09-093-4/+355
|
* Refactor to order statesLibravatar Titus Wormer2022-09-081-197/+194
|
* Add docs to mdx jsx eventsLibravatar Titus Wormer2022-09-081-24/+437
|
* Add support for mdx jsx (flow)Libravatar Titus Wormer2022-09-0810-95/+373
|
* Refactor to move jsx parsing to partialLibravatar Titus Wormer2022-09-084-1001/+1014
|
* Update test count in readmeLibravatar Titus Wormer2022-09-081-1/+1
|
* Fix example in readmeLibravatar Titus Wormer2022-09-081-2/+4
|
* Add tests for mdx jsx (text)Libravatar Titus Wormer2022-09-084-15/+867
|
* Fix debug messageLibravatar Titus Wormer2022-09-071-1/+1
|
* Add support for recoverable syntax errorsLibravatar Titus Wormer2022-09-0749-1388/+1550
|
* Add support for unicode identifiers in JSXLibravatar Titus Wormer2022-09-072-24/+97
|
* Add initial states for MDX JSX (text)Libravatar Titus Wormer2022-09-068-48/+1050
|
* Update docs for extensionsLibravatar Titus Wormer2022-09-051-14/+11
|
* Add support for `mailto:`, `xmpp:` protocolsLibravatar Titus Wormer2022-09-055-16/+167
|
* Fix some todosLibravatar Titus Wormer2022-09-055-7/+12
|
* Fix to implement GFM autolink literals exactlyLibravatar Titus Wormer2022-09-056-164/+3245
|
* Add support for getting `char`s from bytesLibravatar Titus Wormer2022-09-052-21/+32
|
* Fix shifting points past tabsLibravatar Titus Wormer2022-09-051-9/+10
|
* Fix to improve debug loggingLibravatar Titus Wormer2022-09-051-2/+16
|
* Add support for GFM tagfilterLibravatar Titus Wormer2022-09-0111-80/+371
|
* Update exampleLibravatar Titus Wormer2022-08-311-2/+1
|
* Update `readme.md`Libravatar Titus Wormer2022-08-311-2/+2
|
* Add support for GFM tablesLibravatar Titus Wormer2022-08-3116-36/+3442
|
* Add support for math (flow)Libravatar Titus Wormer2022-08-2615-221/+699
|
* Add support for math (text)Libravatar Titus Wormer2022-08-2614-313/+682
|
* Add support for GFM footnotesLibravatar Titus Wormer2022-08-2519-148/+3058
|
* Fix lazy paragraph after definitionLibravatar Titus Wormer2022-08-226-13/+93
|