aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/gfm_table.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-11Fix typo in docsLibravatar Titus Wormer1-1/+3
2023-05-02Remove unneeded checkLibravatar Titus Wormer1-1/+1
2022-10-29Refactor to always resolve edit mapsLibravatar Titus Wormer1-0/+1
This will probably catch some confusing bugs, such as ad1b3e6.
2022-10-28Fix GFM tables to require a non-pipe in header rowLibravatar Titus Wormer1-7/+21
Related-to: GH-20.
2022-10-26Fix GFM tables interfering with other constructsLibravatar Titus Wormer1-0/+2
Closes GH-19. Co-authored-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-10-13Remove some unused code in gfm tablesLibravatar Titus Wormer1-27/+7
2022-09-28Add support for turning mdast to hastLibravatar Titus Wormer1-3/+3
2022-09-14Fix to prefer flow over definitions, setext headingsLibravatar Titus Wormer1-32/+29
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-05Fix to implement GFM autolink literals exactlyLibravatar Titus Wormer1-1/+1
2022-08-31Add support for GFM tablesLibravatar Titus Wormer1-0/+1042