aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove core tests, which tarpaulin doesn’t understandLibravatar Titus Wormer2022-10-141-35/+0
|
* Refactor to move options to separate fileLibravatar Titus Wormer2022-10-141-1422/+8
|
* Remove `must_use` if tarpaulin doesn’t understand themLibravatar Titus Wormer2022-10-141-254/+13
| | | | | 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
|
* 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
|
* Add some tests for line endingsLibravatar Titus Wormer2022-10-141-4/+56
|
* Add some more tests on mdx and indented codeLibravatar Titus Wormer2022-10-141-0/+6
|
* Add logo to crate docsLibravatar Titus Wormer2022-10-131-3/+4
|
* Rename crate to `markdown`Libravatar Titus Wormer2022-10-131-83/+85
|
* Add note about crate logoLibravatar Titus Wormer2022-10-121-0/+3
|
* Refactor some hidden internalsLibravatar Titus Wormer2022-10-111-25/+9
|
* Add improved docs to public apiLibravatar Titus Wormer2022-10-111-102/+330
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-111-4/+7
| | | | | | | | | | * 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-061-172/+263
|
* Refactor to share identifier methodsLibravatar Titus Wormer2022-10-061-1/+16
|
* Add inline clippy configLibravatar Titus Wormer2022-09-291-0/+3
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-281-2/+10
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-261-14/+16
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add structs, enums for `mdast`Libravatar Titus Wormer2022-09-191-8/+37
|
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-191-2/+178
| | | | | | | | | | | | | | | | 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 whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2022-09-121-10/+10
| | | | | | * 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 mdx expression (flow, text)Libravatar Titus Wormer2022-09-091-0/+18
|
* Add support for mdx jsx (flow)Libravatar Titus Wormer2022-09-081-0/+9
|
* Add support for recoverable syntax errorsLibravatar Titus Wormer2022-09-071-29/+74
|
* Add initial states for MDX JSX (text)Libravatar Titus Wormer2022-09-061-0/+29
|
* Add support for GFM tagfilterLibravatar Titus Wormer2022-09-011-0/+47
|
* Add support for GFM tablesLibravatar Titus Wormer2022-08-311-0/+13
|
* Add support for math (flow)Libravatar Titus Wormer2022-08-261-1/+13
|
* Add support for math (text)Libravatar Titus Wormer2022-08-261-45/+99
|
* Add support for GFM footnotesLibravatar Titus Wormer2022-08-251-16/+238
|
* Add support for GFM task list itemLibravatar Titus Wormer2022-08-221-0/+9
|
* Add support for GFM strikethroughLibravatar Titus Wormer2022-08-221-1/+60
|
* Refactor to move more things to `util/`Libravatar Titus Wormer2022-08-191-2/+0
|
* Add support for GFM autolink literalsLibravatar Titus Wormer2022-08-181-0/+21
|
* Add `no_std + alloc`Libravatar Titus Wormer2022-08-161-0/+5
|
* Add support for frontmatterLibravatar Titus Wormer2022-08-161-0/+12
|
* Add derive of `Eq` where possibleLibravatar Titus Wormer2022-08-151-1/+1
|
* Refactor to move `content` to `construct`Libravatar Titus Wormer2022-08-151-1/+0
|
* Refactor to rename list construct to list itemLibravatar Titus Wormer2022-08-151-3/+3
|
* Refactor to improve docs of each functionLibravatar Titus Wormer2022-08-121-1/+1
|
* Remove boxes around resolversLibravatar Titus Wormer2022-08-111-0/+1
|
* Refactor to move some code to `event.rs`Libravatar Titus Wormer2022-08-111-1/+1
|
* Refactor to move some code to `state.rs`Libravatar Titus Wormer2022-08-111-0/+1
|
* Refactor to improve statesLibravatar Titus Wormer2022-07-291-2/+2
| | | | | | | | | | | | * Remove custom kind wrappers, use plain bytes instead * Remove `Into`s, use the explicit expected types instead * Refactor to use `slice.as_str` in most places * Remove unneeded unique check before adding a definition * Use a shared CDATA prefix in constants * Inline byte checks into matches * Pass bytes back from parser instead of whole parse state * Refactor to work more often on bytes * Rename custom `size` to `len`
* Refactor to work on bytes (`u8`)Libravatar Titus Wormer2022-07-291-1/+1
|
* Refactor to work on `char`sLibravatar Titus Wormer2022-07-281-8/+7
| | | | | | | | | | | | | | | Previously, a custom char implementation was used. This was easier to work with, as sometimes “virtual” characters are injected, or characters are ignored. This replaces that with working on actual `char`s. In the hope of in the future working on `u8`s, even. This simplifies the state machine somewhat, as only `\n` is fed, regardless of whether it was a CRLF, CR, or LF. It also feeds `' '` instead of virtual spaces. The BOM, if present, is now available as a `ByteOrderMark` event.
* Remove unneeded `rust` language flagsLibravatar Titus Wormer2022-07-191-6/+6
|
* Change to improve `default_line_ending` apiLibravatar Titus Wormer2022-07-181-4/+4
|
* Add support for turning off constructsLibravatar Titus Wormer2022-07-181-9/+223
|