aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix spurious newlinesGravatar Peter McGoron 2025-01-273-4/+20
|
* expand starts and continues by adding current node as argumentGravatar Peter McGoron 2025-01-275-80/+91
| | | | | | | This simplifies the parser at the expense of moving the `add-new-node!` declaration into the `starts` procedure. This allows for the procedure to mutate the node when needed, which is needed for properly parsing pandoc-style grid tables.
* indented code block testGravatar Peter McGoron 2025-01-263-14/+81
|
* partial suppor for ATX headingsGravatar Peter McGoron 2025-01-264-8/+102
|
* fix tight nesting of block quotesGravatar Peter McGoron 2025-01-265-10/+61
|
* parsing testsGravatar Peter McGoron 2025-01-263-1/+150
|
* remove unordered list containersGravatar Peter McGoron 2025-01-267-70/+52
| | | | | | | | | | | | | | Although it is possible to incorporate automatic detection of list containers in the block parser (look ahead for `* `, if not check for ` `), but I think that this is premature. The point of the block parser is to take the input and figure out what block the item is in. All a list container does is compress together adjacent list items. This can be done in a second pass. (This might have the effect of causing list items separated by line breaks to be in the same list. If there is nothing in between, it would make sense.)
* block structureGravatar Peter McGoron 2025-01-2510-0/+891