Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix GFM autolink literals after tabs | 2022-10-26 | 1 | -2/+5 | |
| | | | | | | Closes GH-18. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com> | ||||
* | Refactor to improve coverage with assertion | 2022-10-13 | 1 | -6/+2 | |
| | |||||
* | Add support for parsing MDX ESM, expressions | 2022-09-19 | 1 | -1/+41 | |
| | | | | | | | | | | | | | | | | 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 | 2022-09-14 | 1 | -5/+46 | |
| | | | | | | | | | | | | | | 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 gfm email autolink literals overlapping | 2022-09-12 | 1 | -1/+1 | |
| | |||||
* | Add docs for mdx expressions | 2022-09-09 | 1 | -18/+141 | |
| | |||||
* | Add support for mdx attribute (value) expressions | 2022-09-09 | 1 | -0/+2 | |
| | |||||
* | Add mdx expression (flow, text) | 2022-09-09 | 1 | -0/+5 | |
| | |||||
* | Add docs to mdx jsx events | 2022-09-08 | 1 | -24/+437 | |
| | |||||
* | Add support for mdx jsx (flow) | 2022-09-08 | 1 | -20/+34 | |
| | |||||
* | Add initial states for MDX JSX (text) | 2022-09-06 | 1 | -0/+22 | |
| | |||||
* | Add support for `mailto:`, `xmpp:` protocols | 2022-09-05 | 1 | -0/+36 | |
| | |||||
* | Fix some todos | 2022-09-05 | 1 | -1/+0 | |
| | |||||
* | Fix shifting points past tabs | 2022-09-05 | 1 | -9/+10 | |
| | |||||
* | Add support for GFM tables | 2022-08-31 | 1 | -1/+263 | |
| | |||||
* | Add support for math (flow) | 2022-08-26 | 1 | -8/+119 | |
| | |||||
* | Add support for math (text) | 2022-08-26 | 1 | -4/+62 | |
| | |||||
* | Add support for GFM footnotes | 2022-08-25 | 1 | -9/+178 | |
| | |||||
* | Add support for GFM task list item | 2022-08-22 | 1 | -1/+78 | |
| | |||||
* | Add support for GFM strikethrough | 2022-08-22 | 1 | -2/+57 | |
| | |||||
* | Add support for GFM autolink literals | 2022-08-18 | 1 | -89/+180 | |
| | |||||
* | Add support for frontmatter | 2022-08-16 | 1 | -1/+91 | |
| | |||||
* | Refactor to proof docs, grammars | 2022-08-15 | 1 | -4/+10 | |
| | |||||
* | Add missing mark of `SpaceOrTab` as void event | 2022-08-15 | 1 | -1/+2 | |
| | |||||
* | Add derive of `Eq` where possible | 2022-08-15 | 1 | -6/+6 | |
| | |||||
* | Refactor to move `content` to `construct` | 2022-08-15 | 1 | -47/+47 | |
| | |||||
* | Refactor to rename list construct to list item | 2022-08-15 | 1 | -6/+6 | |
| | |||||
* | Refactor to improve entering | 2022-08-12 | 1 | -1/+1 | |
| | |||||
* | Refactor to improve docs of each function | 2022-08-12 | 1 | -3/+7 | |
| | |||||
* | Refactor to move `space_or_tab_eol` to own file | 2022-08-11 | 1 | -182/+182 | |
| | |||||
* | Refactor to move some code to `event.rs` | 2022-08-11 | 1 | -0/+1935 | |