aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdast.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-28Fix AST node debug representation to pretty printLibravatar Mia1-34/+34
Closes GH-51. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2023-01-03Add support for serializing trees as JSONLibravatar Kyle McCarthy1-2/+216
This adds support for serializing the mdast syntax tree as JSON, with serde, through a feature. Closes GH-10. Related-to GH-30. Closes GH-37.
2022-11-10Refactor code-style for Rust 1.65Libravatar Hocdoc1-1/+1
Closes GH-29. Reviewed-by: Titus Wormer <tituswormer@gmail.com> Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
2022-10-25Fix type of `start` on list in mdastLibravatar Titus Wormer1-1/+1
Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-13Add missing test for mdastLibravatar Titus Wormer1-0/+32
2022-10-13Add a lot of tests on how mdast, unist workLibravatar Titus Wormer1-36/+917
2022-10-11Refactor to use a bunch of `into`Libravatar Titus Wormer1-3/+3
2022-10-11Add improved docs to public apiLibravatar Titus Wormer1-10/+12
2022-10-11Add support for proper positional info in swc treeLibravatar Titus Wormer1-2/+15
* 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-09-28Add support for turning mdast to hastLibravatar Titus Wormer1-72/+5
2022-09-26Add support for compiling to mdastLibravatar Titus Wormer1-298/+497
See: <https://github.com/syntax-tree/mdast>.
2022-09-19Add structs, enums for `mdast`Libravatar Titus Wormer1-0/+1047