aboutsummaryrefslogtreecommitdiffstats
path: root/src/to_mdast.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
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