aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add thanks for crate nameLibravatar Titus Wormer2022-10-131-2/+5
|
* Add masks to logosLibravatar Titus Wormer2022-10-132-5/+15
|
* Rename crate to `markdown`Libravatar Titus Wormer2022-10-1379-2725/+2711
|
* Fix typoLibravatar Titus Wormer2022-10-121-2/+2
|
* Add internals to compile JSX away (wip)Libravatar Titus Wormer2022-10-125-1/+378
|
* Add note about crate logoLibravatar Titus Wormer2022-10-121-0/+3
|
* Add Thanks section to readmeLibravatar Titus Wormer2022-10-121-5/+11
|
* Remove some superfluous docsLibravatar Titus Wormer2022-10-121-146/+2
|
* Add code of conduct, improve docsLibravatar Titus Wormer2022-10-124-171/+352
|
* Refactor to improve some module docsLibravatar Titus Wormer2022-10-1212-22/+24
|
* Add improved logosLibravatar Titus Wormer2022-10-124-54/+53
| | | | Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Refactor some internals to accept mutable referencesLibravatar Titus Wormer2022-10-114-16/+12
|
* Refactor test utilities to improve namesLibravatar Titus Wormer2022-10-1113-240/+304
|
* Refactor to use a bunch of `into`Libravatar Titus Wormer2022-10-1143-234/+217
|
* Refactor some proseLibravatar Titus Wormer2022-10-111-7/+10
|
* Refactor some hidden internalsLibravatar Titus Wormer2022-10-115-35/+21
|
* Add some missing internal docsLibravatar Titus Wormer2022-10-115-22/+66
|
* Add improved docs to public apiLibravatar Titus Wormer2022-10-113-113/+342
|
* Add support for proper positional info in swc treeLibravatar Titus Wormer2022-10-1126-581/+1182
| | | | | | | | | | * 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`
* Update fuzzer to support new options format, add mdast fuzzingLibravatar Christian Murphy2022-10-071-4/+3
| | | Closes GH-9.
* Refactor to improve `to_hast` internalsLibravatar Titus Wormer2022-10-062-828/+624
|
* Refactor to split parse from compile optionsLibravatar Titus Wormer2022-10-0649-516/+941
|
* Refactor to share identifier methodsLibravatar Titus Wormer2022-10-065-40/+63
|
* Add support for HTML 4 character references in JSX attributesLibravatar Titus Wormer2022-10-068-135/+584
|
* Add support for form feeds as html whitespaceLibravatar Titus Wormer2022-10-051-2/+1
|
* Add support for rewriting JSXLibravatar Titus Wormer2022-10-056-3/+1551
|
* Refactor to share a test utilityLibravatar Titus Wormer2022-10-045-199/+234
|
* Add support for creating a component, using layoutLibravatar Titus Wormer2022-10-035-2/+883
|
* Add support for turning hast into swcLibravatar Titus Wormer2022-09-309-99/+1480
|
* Update dev-dependenciesLibravatar Titus Wormer2022-09-291-3/+3
|
* Add inline clippy configLibravatar Titus Wormer2022-09-293-4/+5
|
* Add note on future ideaLibravatar Titus Wormer2022-09-291-0/+4
|
* Add support for turning mdast to hastLibravatar Titus Wormer2022-09-2864-467/+3851
|
* Add support for compiling to mdastLibravatar Titus Wormer2022-09-2645-655/+4105
| | | | See: <https://github.com/syntax-tree/mdast>.
* Add structs, enums for `mdast`Libravatar Titus Wormer2022-09-195-16/+1134
|
* Add notes on fuzz testing to `readme.md`Libravatar Titus Wormer2022-09-191-1/+2
|
* Remove private APIs from siteLibravatar Titus Wormer2022-09-191-1/+1
|
* Update `readme.md`Libravatar Titus Wormer2022-09-191-5/+3
|
* Add support for parsing MDX ESM, expressionsLibravatar Titus Wormer2022-09-1922-445/+1573
| | | | | | | | | | | | | | | | This commit adds support for hooks that lets a user integrate another parser with `micromark-rs`, to parse ESM and expressions according to a particular grammar (such as a programming language, typically JavaScript). For an example integrating with SWC, see `tests/test_utils/mod.rs`. The integration occurs with two functions passed in `options`: `mdx_expression_parse` and `mdx_esm_parse`. The can signal back to micromark when they are successful, whether there is an error at the end (in which case micromark will try to parse more), or whether there is a syntax error (in which case micromark will crash).
* Add clippy allow for wrong rule in actionsLibravatar Titus Wormer2022-09-141-1/+1
|
* Fix to prefer flow over definitions, setext headingsLibravatar Titus Wormer2022-09-1426-355/+724
| | | | | | | | | | | | | | An undocumented part of CommonMark is how to deal with things in definition labels or definition titles (which both can span multiple lines). Can flow (or containers?) interrupt them? They can according to the `cmark` reference parser, so this was implemented here. This adds a new `Content` content type, which houses zero or more definitions, and then zero-or-one paragraphs. Content can be followed by a setext heading underline, which either turns into a setext heading when the content ends in a paragraph, or turns into the start of the following paragraph when it is followed by content that starts with a paragraph, or turns into a stray paragraph.
* Fix containers piercing into indented codeLibravatar Titus Wormer2022-09-123-4/+16
|
* Fix gfm email autolink literals overlappingLibravatar Titus Wormer2022-09-123-16/+31
|
* Fix blank lines in labelsLibravatar Titus Wormer2022-09-122-1/+16
|
* Fix whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2022-09-126-142/+303
| | | | | | * Fix a crash on line endings in footnote definitions * Fix to match spaces and tabs in identifiers to `cmark-gfm` * Fix order of one attribute
* Add fuzz testingLibravatar Christian Murphy2022-09-124-0/+49
| | | Closes GH-7.
* Add section on syntax errors to readmeLibravatar Titus Wormer2022-09-091-0/+8
|
* Update count in readmeLibravatar Titus Wormer2022-09-091-1/+1
|
* Fix typoLibravatar Titus Wormer2022-09-091-1/+1
|
* Refactor list ordering in readmeLibravatar Titus Wormer2022-09-091-1/+1
|