aboutsummaryrefslogtreecommitdiffstats
path: root/src/to_mdast.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for serializing trees as JSONLibravatar Kyle McCarthy2023-01-031-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.
* Fix `start` on ordered lists in mdastLibravatar Titus Wormer2022-12-191-1/+3
| | | | Closes GH-38.
* Fix GFM task list checkboxes followed by eolLibravatar Titus Wormer2022-11-251-45/+47
| | | | Closes GH-24.
* 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>
* Remove some unused code around slicesLibravatar Titus Wormer2022-10-141-6/+3
|
* Refactor some code to improve coverageLibravatar Titus Wormer2022-10-131-14/+6
|
* Fix cr, crlf in code (fenced) for mdastLibravatar Titus Wormer2022-10-131-3/+3
|
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-111-3/+3
|
* Add some missing internal docsLibravatar Titus Wormer2022-10-111-4/+33
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-111-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`
* Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer2022-10-061-11/+9
|
* Add support for turning hast into swcLibravatar Titus Wormer2022-09-301-7/+0
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-281-3/+3
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-261-27/+1735
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add structs, enums for `mdast`Libravatar Titus Wormer2022-09-191-0/+40