aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-09-14Fix to prefer flow over definitions, setext headingsLibravatar Titus Wormer15-211/+436
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.
2022-09-12Fix containers piercing into indented codeLibravatar Titus Wormer1-1/+1
2022-09-12Fix gfm email autolink literals overlappingLibravatar Titus Wormer1-13/+13
2022-09-12Fix blank lines in labelsLibravatar Titus Wormer1-1/+2
2022-09-12Fix whitespace in GFM footnote definition identifiersLibravatar Titus Wormer2-19/+106
* 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
2022-09-09Add docs for mdx expressionsLibravatar Titus Wormer3-12/+152
2022-09-09Add support for mdx attribute (value) expressionsLibravatar Titus Wormer2-10/+70
2022-09-09Add mdx expression (flow, text)Libravatar Titus Wormer7-4/+242
2022-09-09Add some missing docsLibravatar Titus Wormer1-14/+9
2022-09-09Fix to allow blank lines in mdx jsx (flow)Libravatar Titus Wormer1-44/+22
2022-09-09Refactor to move byte, char info to own fileLibravatar Titus Wormer4-79/+55
2022-09-09Add docs to mdx jsxLibravatar Titus Wormer3-4/+355
2022-09-08Add support for mdx jsx (flow)Libravatar Titus Wormer4-74/+143
2022-09-08Refactor to move jsx parsing to partialLibravatar Titus Wormer3-945/+954
2022-09-08Add tests for mdx jsx (text)Libravatar Titus Wormer1-11/+36
2022-09-07Add support for recoverable syntax errorsLibravatar Titus Wormer2-53/+56
2022-09-07Add support for unicode identifiers in JSXLibravatar Titus Wormer1-24/+95
2022-09-06Add initial states for MDX JSX (text)Libravatar Titus Wormer4-47/+911
2022-09-05Add support for `mailto:`, `xmpp:` protocolsLibravatar Titus Wormer2-12/+54
2022-09-05Fix some todosLibravatar Titus Wormer3-6/+5
2022-09-05Fix to implement GFM autolink literals exactlyLibravatar Titus Wormer3-158/+712
2022-09-05Add support for getting `char`s from bytesLibravatar Titus Wormer1-21/+10
2022-09-01Add support for GFM tagfilterLibravatar Titus Wormer2-2/+2
2022-08-31Add support for GFM tablesLibravatar Titus Wormer8-29/+1077
2022-08-26Add support for math (flow)Libravatar Titus Wormer6-106/+205
2022-08-26Add support for math (text)Libravatar Titus Wormer8-239/+301
2022-08-25Add support for GFM footnotesLibravatar Titus Wormer11-104/+717
2022-08-22Fix lazy paragraph after definitionLibravatar Titus Wormer2-10/+60
2022-08-22Add support for GFM task list itemLibravatar Titus Wormer3-1/+167
2022-08-22Add support for GFM strikethroughLibravatar Titus Wormer21-112/+169
2022-08-19Refactor to move more things to `util/`Libravatar Titus Wormer15-32/+37
2022-08-18Add support for GFM autolink literalsLibravatar Titus Wormer6-75/+407
2022-08-16Add `no_std + alloc`Libravatar Titus Wormer9-0/+9
2022-08-16Add support for frontmatterLibravatar Titus Wormer6-16/+327
2022-08-16Update some last docs, bnf grammarsLibravatar Titus Wormer17-111/+226
2022-08-15Refactor to proof docs, grammarsLibravatar Titus Wormer21-241/+419
2022-08-15Refactor to move `content` to `construct`Libravatar Titus Wormer32-38/+1037
2022-08-15Refactor to rename list construct to list itemLibravatar Titus Wormer4-27/+27
2022-08-15Refactor paragraph, data resolversLibravatar Titus Wormer2-44/+50
2022-08-15Refactor to solve some clippy issuesLibravatar Titus Wormer1-51/+50
2022-08-12Refactor to attempt less if never neededLibravatar Titus Wormer14-293/+367
2022-08-12Refactor to improve enteringLibravatar Titus Wormer9-58/+113
2022-08-12Refactor to improve some namesLibravatar Titus Wormer3-15/+15
2022-08-12Remove unneeded stateLibravatar Titus Wormer1-21/+4
2022-08-12Remove `match` statements if clumsyLibravatar Titus Wormer18-410/+368
2022-08-12Refactor to improve docs of each functionLibravatar Titus Wormer28-440/+420
2022-08-11Refactor attempts to remove unneeded state nameLibravatar Titus Wormer15-270/+236
2022-08-11Refactor to handle definitions when parsingLibravatar Titus Wormer1-3/+34
2022-08-11Remove unneeded `balance` info on label startsLibravatar Titus Wormer3-43/+10
2022-08-11Refactor to move `space_or_tab_eol` to own fileLibravatar Titus Wormer28-276/+292