aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdast.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename `json` feature to `serde`Libravatar Rafael Bachmann2023-04-271-44/+44
| | | | | Closes GH-59. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
* Fix AST node debug representation to pretty printLibravatar Mia2023-02-281-34/+34
| | | | | Closes GH-51. Reviewed-by: Titus Wormer <tituswormer@gmail.com>
* Add support for serializing trees as JSONLibravatar Kyle McCarthy2023-01-031-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.
* Refactor code-style for Rust 1.65Libravatar Hocdoc2022-11-101-1/+1
| | | | | | Closes GH-29. Reviewed-by: Titus Wormer <tituswormer@gmail.com> Co-authored-by: Bernhard Berger <bernhardberger3456@gmail.com>
* Fix type of `start` on list in mdastLibravatar Titus Wormer2022-10-251-1/+1
| | | | | | Closes GH-17. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
* Add missing test for mdastLibravatar Titus Wormer2022-10-131-0/+32
|
* Add a lot of tests on how mdast, unist workLibravatar Titus Wormer2022-10-131-36/+917
|
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-111-3/+3
|
* Add improved docs to public apiLibravatar Titus Wormer2022-10-111-10/+12
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-111-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`
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-281-72/+5
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-261-298/+497
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add structs, enums for `mdast`Libravatar Titus Wormer2022-09-191-0/+1047