aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix lists in MDXLibravatar Titus Wormer2022-10-251-1/+1
| | | | Closes GH-11.
* Regenerate unicode punctuationLibravatar Christian Murphy2022-10-251-1/+24
| | | | | Closes GH-15. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
* Remove core tests, which tarpaulin doesn’t understandLibravatar Titus Wormer2022-10-141-35/+0
|
* Refactor to move options to separate fileLibravatar Titus Wormer2022-10-142-1422/+1429
|
* Remove `must_use` if tarpaulin doesn’t understand themLibravatar Titus Wormer2022-10-145-257/+277
| | | | | Also moves some code to separate files, in the hopes that tarpaulin understands them.
* Refactor to attempt to fix some coverage bugsLibravatar Titus Wormer2022-10-141-1/+6
|
* Refactor slice algorithms some moreLibravatar Titus Wormer2022-10-141-24/+13
|
* Attempt to fix broken tarpaulinLibravatar Titus Wormer2022-10-141-0/+2
|
* Add some tests for mdx parse types, `must_use`Libravatar Titus Wormer2022-10-141-0/+60
|
* Add some unit tests for core apiLibravatar Titus Wormer2022-10-141-10/+198
|
* Refactor some code to improve coverageLibravatar Titus Wormer2022-10-141-14/+10
|
* Add some tests for line endingsLibravatar Titus Wormer2022-10-141-4/+56
|
* Remove some unused code around slicesLibravatar Titus Wormer2022-10-145-83/+19
|
* Fix positional info of cr+lf in mdxLibravatar Titus Wormer2022-10-141-0/+88
|
* Add some more tests on mdx and indented codeLibravatar Titus Wormer2022-10-141-0/+6
|
* Refactor some code to improve coverageLibravatar Titus Wormer2022-10-132-5/+3
|
* Replace some unused code for assertionsLibravatar Titus Wormer2022-10-132-23/+19
|
* Add some unit tests for internal character functionsLibravatar Titus Wormer2022-10-131-15/+102
|
* Replace some unused code with assertionsLibravatar Titus Wormer2022-10-131-8/+10
|
* Remove some unused code in gfm tablesLibravatar Titus Wormer2022-10-132-29/+7
|
* Remove some unused codeLibravatar Titus Wormer2022-10-133-25/+19
|
* 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).