Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for turning hast into swc | Titus Wormer | 2022-09-30 | 1 | -7/+0 |
| | |||||
* | Add inline clippy config | Titus Wormer | 2022-09-29 | 1 | -0/+3 |
| | |||||
* | Add support for turning mdast to hast | Titus Wormer | 2022-09-28 | 16 | -117/+130 |
| | |||||
* | Add support for compiling to mdast | Titus Wormer | 2022-09-26 | 7 | -546/+2486 |
| | | | | See: <https://github.com/syntax-tree/mdast>. | ||||
* | Add structs, enums for `mdast` | Titus Wormer | 2022-09-19 | 4 | -14/+1128 |
| | |||||
* | Add support for parsing MDX ESM, expressions | Titus Wormer | 2022-09-19 | 12 | -27/+628 |
| | | | | | | | | | | | | | | | | 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). | ||||
* | Fix to prefer flow over definitions, setext headings | Titus Wormer | 2022-09-14 | 22 | -353/+680 |
| | | | | | | | | | | | | | | 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 code | Titus Wormer | 2022-09-12 | 2 | -2/+2 |
| | |||||
* | Fix gfm email autolink literals overlapping | Titus Wormer | 2022-09-12 | 2 | -14/+14 |
| | |||||
* | Fix blank lines in labels | Titus Wormer | 2022-09-12 | 1 | -1/+2 |
| | |||||
* | Fix whitespace in GFM footnote definition identifiers | Titus Wormer | 2022-09-12 | 5 | -33/+126 |
| | | | | | | * 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 docs for mdx expressions | Titus Wormer | 2022-09-09 | 4 | -30/+293 |
| | |||||
* | Add support for mdx attribute (value) expressions | Titus Wormer | 2022-09-09 | 4 | -10/+81 |
| | |||||
* | Add mdx expression (flow, text) | Titus Wormer | 2022-09-09 | 11 | -12/+306 |
| | |||||
* | Add some missing docs | Titus Wormer | 2022-09-09 | 1 | -14/+9 |
| | |||||
* | Fix to allow blank lines in mdx jsx (flow) | Titus Wormer | 2022-09-09 | 2 | -50/+22 |
| | |||||
* | Refactor to move byte, char info to own file | Titus Wormer | 2022-09-09 | 9 | -215/+225 |
| | |||||
* | Add docs to mdx jsx | Titus Wormer | 2022-09-09 | 3 | -4/+355 |
| | |||||
* | Refactor to order states | Titus Wormer | 2022-09-08 | 1 | -197/+194 |
| | |||||
* | Add docs to mdx jsx events | Titus Wormer | 2022-09-08 | 1 | -24/+437 |
| | |||||
* | Add support for mdx jsx (flow) | Titus Wormer | 2022-09-08 | 8 | -95/+219 |
| | |||||
* | Refactor to move jsx parsing to partial | Titus Wormer | 2022-09-08 | 4 | -1001/+1014 |
| | |||||
* | Add tests for mdx jsx (text) | Titus Wormer | 2022-09-08 | 2 | -12/+41 |
| | |||||
* | Fix debug message | Titus Wormer | 2022-09-07 | 1 | -1/+1 |
| | |||||
* | Add support for recoverable syntax errors | Titus Wormer | 2022-09-07 | 8 | -97/+175 |
| | |||||
* | Add support for unicode identifiers in JSX | Titus Wormer | 2022-09-07 | 1 | -24/+95 |
| | |||||
* | Add initial states for MDX JSX (text) | Titus Wormer | 2022-09-06 | 8 | -48/+1050 |
| | |||||
* | Add support for `mailto:`, `xmpp:` protocols | Titus Wormer | 2022-09-05 | 4 | -16/+124 |
| | |||||
* | Fix some todos | Titus Wormer | 2022-09-05 | 5 | -7/+12 |
| | |||||
* | Fix to implement GFM autolink literals exactly | Titus Wormer | 2022-09-05 | 5 | -162/+805 |
| | |||||
* | Add support for getting `char`s from bytes | Titus Wormer | 2022-09-05 | 2 | -21/+32 |
| | |||||
* | Fix shifting points past tabs | Titus Wormer | 2022-09-05 | 1 | -9/+10 |
| | |||||
* | Fix to improve debug logging | Titus Wormer | 2022-09-05 | 1 | -2/+16 |
| | |||||
* | Add support for GFM tagfilter | Titus Wormer | 2022-09-01 | 8 | -77/+246 |
| | |||||
* | Add support for GFM tables | Titus Wormer | 2022-08-31 | 14 | -36/+1648 |
| | |||||
* | Add support for math (flow) | Titus Wormer | 2022-08-26 | 12 | -190/+424 |
| | |||||
* | Add support for math (text) | Titus Wormer | 2022-08-26 | 12 | -312/+491 |
| | |||||
* | Add support for GFM footnotes | Titus Wormer | 2022-08-25 | 17 | -147/+1527 |
| | |||||
* | Fix lazy paragraph after definition | Titus Wormer | 2022-08-22 | 3 | -13/+63 |
| | |||||
* | Add support for GFM task list item | Titus Wormer | 2022-08-22 | 10 | -12/+338 |
| | |||||
* | Add support for GFM strikethrough | Titus Wormer | 2022-08-22 | 25 | -119/+307 |
| | |||||
* | Refactor to move more things to `util/` | Titus Wormer | 2022-08-19 | 24 | -40/+44 |
| | |||||
* | Add support for GFM autolink literals | Titus Wormer | 2022-08-18 | 11 | -199/+753 |
| | |||||
* | Add `no_std + alloc` | Titus Wormer | 2022-08-16 | 21 | -2/+38 |
| | |||||
* | Add support for frontmatter | Titus Wormer | 2022-08-16 | 12 | -17/+479 |
| | |||||
* | Update some last docs, bnf grammars | Titus Wormer | 2022-08-16 | 17 | -111/+226 |
| | |||||
* | Refactor to proof docs, grammars | Titus Wormer | 2022-08-15 | 38 | -424/+687 |
| | |||||
* | Add missing mark of `SpaceOrTab` as void event | Titus Wormer | 2022-08-15 | 1 | -1/+2 |
| | |||||
* | Add derive of `Eq` where possible | Titus Wormer | 2022-08-15 | 5 | -11/+11 |
| | |||||
* | Refactor to move `content` to `construct` | Titus Wormer | 2022-08-15 | 38 | -138/+130 |
| |