aboutsummaryrefslogtreecommitdiffstats
path: root/src/to_mdast.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-03Add support for serializing trees as JSONLibravatar Kyle McCarthy1-10/+14
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-12-19Fix `start` on ordered lists in mdastLibravatar Titus Wormer1-1/+3
Closes GH-38.
2022-11-25Fix GFM task list checkboxes followed by eolLibravatar Titus Wormer1-45/+47
Closes GH-24.
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-14Remove some unused code around slicesLibravatar Titus Wormer1-6/+3
2022-10-13Refactor some code to improve coverageLibravatar Titus Wormer1-14/+6
2022-10-13Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer1-3/+3
2022-10-11Refactor to use a bunch of `into`Libravatar Titus Wormer1-3/+3
2022-10-11Add some missing internal docsLibravatar Titus Wormer1-4/+33
2022-10-11Add support for proper positional info in swc treeLibravatar Titus Wormer1-62/+91
* 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-06Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer1-11/+9
2022-09-30Add support for turning hast into swcLibravatar Titus Wormer1-7/+0
2022-09-28Add support for turning mdast to hastLibravatar Titus Wormer1-3/+3
2022-09-26Add support for compiling to mdastLibravatar Titus Wormer1-27/+1735
See: <https://github.com/syntax-tree/mdast>.
2022-09-19Add structs, enums for `mdast`Libravatar Titus Wormer1-0/+40