aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-25Fix lists in MDXLibravatar Titus Wormer1-1/+1
Closes GH-11.
2022-10-25Regenerate unicode punctuationLibravatar Christian Murphy1-1/+24
Closes GH-15. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2022-10-14Remove core tests, which tarpaulin doesn’t understandLibravatar Titus Wormer1-35/+0
2022-10-14Refactor to move options to separate fileLibravatar Titus Wormer2-1422/+1429
2022-10-14Remove `must_use` if tarpaulin doesn’t understand themLibravatar Titus Wormer5-257/+277
Also moves some code to separate files, in the hopes that tarpaulin understands them.
2022-10-14Refactor to attempt to fix some coverage bugsLibravatar Titus Wormer1-1/+6
2022-10-14Refactor slice algorithms some moreLibravatar Titus Wormer1-24/+13
2022-10-14Attempt to fix broken tarpaulinLibravatar Titus Wormer1-0/+2
2022-10-14Add some tests for mdx parse types, `must_use`Libravatar Titus Wormer1-0/+60
2022-10-14Add some unit tests for core apiLibravatar Titus Wormer1-10/+198
2022-10-14Refactor some code to improve coverageLibravatar Titus Wormer1-14/+10
2022-10-14Add some tests for line endingsLibravatar Titus Wormer1-4/+56
2022-10-14Remove some unused code around slicesLibravatar Titus Wormer5-83/+19
2022-10-14Fix positional info of cr+lf in mdxLibravatar Titus Wormer1-0/+88
2022-10-14Add some more tests on mdx and indented codeLibravatar Titus Wormer1-0/+6
2022-10-13Refactor some code to improve coverageLibravatar Titus Wormer2-5/+3
2022-10-13Replace some unused code for assertionsLibravatar Titus Wormer2-23/+19
2022-10-13Add some unit tests for internal character functionsLibravatar Titus Wormer1-15/+102
2022-10-13Replace some unused code with assertionsLibravatar Titus Wormer1-8/+10
2022-10-13Remove some unused code in gfm tablesLibravatar Titus Wormer2-29/+7
2022-10-13Remove some unused codeLibravatar Titus Wormer3-25/+19
2022-10-13Add missing test for mdastLibravatar Titus Wormer1-0/+32
2022-10-13Refactor some code to improve coverageLibravatar Titus Wormer5-85/+62
2022-10-13Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer1-3/+3
2022-10-13Add a lot of tests on how mdast, unist workLibravatar Titus Wormer2-37/+921
2022-10-13Add a couple tests for `Debug` on unist interfacesLibravatar Titus Wormer1-0/+23
2022-10-13Refactor to improve coverage with assertionLibravatar Titus Wormer1-6/+2
2022-10-13Refactor to improve coverage of titlesLibravatar Titus Wormer2-12/+8
2022-10-13Add more tests for whitespace in jsx tagsLibravatar Titus Wormer1-10/+2
2022-10-13Add a bunch more tests for frontmatterLibravatar Titus Wormer1-9/+6
2022-10-13Remove unneeded states in `partial_label`Libravatar Titus Wormer2-50/+15
2022-10-13Remove unneeded code from `gfm_autolink_literal`Libravatar Titus Wormer1-91/+9
2022-10-13Add logo to crate docsLibravatar Titus Wormer1-3/+4
2022-10-13Rename crate to `markdown`Libravatar Titus Wormer9-95/+97
2022-10-12Add note about crate logoLibravatar Titus Wormer1-0/+3
2022-10-12Refactor to improve some module docsLibravatar Titus Wormer12-22/+24
2022-10-11Refactor to use a bunch of `into`Libravatar Titus Wormer8-30/+23
2022-10-11Refactor some hidden internalsLibravatar Titus Wormer3-27/+13
2022-10-11Add some missing internal docsLibravatar Titus Wormer5-22/+66
2022-10-11Add improved docs to public apiLibravatar Titus Wormer2-112/+342
2022-10-11Add support for proper positional info in swc treeLibravatar Titus Wormer9-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`
2022-10-06Refactor to split parse from compile optionsLibravatar Titus Wormer3-179/+273
2022-10-06Refactor to share identifier methodsLibravatar Titus Wormer4-25/+58
2022-10-06Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer7-135/+493
2022-09-30Add support for turning hast into swcLibravatar Titus Wormer1-7/+0
2022-09-29Add inline clippy configLibravatar Titus Wormer1-0/+3
2022-09-28Add support for turning mdast to hastLibravatar Titus Wormer16-117/+130
2022-09-26Add support for compiling to mdastLibravatar Titus Wormer7-546/+2486
See: <https://github.com/syntax-tree/mdast>.
2022-09-19Add structs, enums for `mdast`Libravatar Titus Wormer4-14/+1128
2022-09-19Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer12-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).