aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing test for mdastLibravatar Titus Wormer2022-10-131-0/+32
|
* Refactor some code to improve coverageLibravatar Titus Wormer2022-10-135-85/+62
|
* Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer2022-10-131-3/+3
|
* Add a lot of tests on how mdast, unist workLibravatar Titus Wormer2022-10-132-37/+921
|
* Add a couple tests for `Debug` on unist interfacesLibravatar Titus Wormer2022-10-131-0/+23
|
* Refactor to improve coverage with assertionLibravatar Titus Wormer2022-10-131-6/+2
|
* Refactor to improve coverage of titlesLibravatar Titus Wormer2022-10-132-12/+8
|
* Add more tests for whitespace in jsx tagsLibravatar Titus Wormer2022-10-131-10/+2
|
* Add a bunch more tests for frontmatterLibravatar Titus Wormer2022-10-131-9/+6
|
* Remove unneeded states in `partial_label`Libravatar Titus Wormer2022-10-132-50/+15
|
* Remove unneeded code from `gfm_autolink_literal`Libravatar Titus Wormer2022-10-131-91/+9
|
* Add logo to crate docsLibravatar Titus Wormer2022-10-131-3/+4
|
* Rename crate to `markdown`Libravatar Titus Wormer2022-10-139-95/+97
|
* Add note about crate logoLibravatar Titus Wormer2022-10-121-0/+3
|
* Refactor to improve some module docsLibravatar Titus Wormer2022-10-1212-22/+24
|
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-118-30/+23
|
* Refactor some hidden internalsLibravatar Titus Wormer2022-10-113-27/+13
|
* Add some missing internal docsLibravatar Titus Wormer2022-10-115-22/+66
|
* Add improved docs to public apiLibravatar Titus Wormer2022-10-112-112/+342
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-119-135/+298
| | | | | | | | | | * 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 split parse from compile optionsLibravatar Titus Wormer2022-10-063-179/+273
|
* Refactor to share identifier methodsLibravatar Titus Wormer2022-10-064-25/+58
|
* Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer2022-10-067-135/+493
|
* Add support for turning hast into swcLibravatar Titus Wormer2022-09-301-7/+0
|
* Add inline clippy configLibravatar Titus Wormer2022-09-291-0/+3
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-2816-117/+130
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-267-546/+2486
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add structs, enums for `mdast`Libravatar Titus Wormer2022-09-194-14/+1128
|
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-1912-27/+628
| | | | | | | | | | | | | | | | 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-1422-353/+680
| | | | | | | | | | | | | | 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-122-2/+2
|
* Fix gfm email autolink literals overlappingLibravatar Titus Wormer2022-09-122-14/+14
|
* Fix blank lines in labelsLibravatar Titus Wormer2022-09-121-1/+2
|
* Fix whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2022-09-125-33/+126
| | | | | | * 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-094-30/+293
|
* Add support for mdx attribute (value) expressionsLibravatar Titus Wormer2022-09-094-10/+81
|
* Add mdx expression (flow, text)Libravatar Titus Wormer2022-09-0911-12/+306
|
* 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-088-95/+219
|
* Refactor to move jsx parsing to partialLibravatar Titus Wormer2022-09-084-1001/+1014
|
* Add tests for mdx jsx (text)Libravatar Titus Wormer2022-09-082-12/+41
|
* Fix debug messageLibravatar Titus Wormer2022-09-071-1/+1
|
* Add support for recoverable syntax errorsLibravatar Titus Wormer2022-09-078-97/+175
|
* Add support for unicode identifiers in JSXLibravatar Titus Wormer2022-09-071-24/+95
|
* Add initial states for MDX JSX (text)Libravatar Titus Wormer2022-09-068-48/+1050
|