mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-16 13:30:24 +01:00
Answer prose round 1: the decision says right after and keeps only its reason, the README counts the link-definition exception, and the comments and spec say which list alternates
This commit is contained in:
@@ -246,7 +246,7 @@ function openContainer(walk: Walk, start: ContainerStart): void {
|
||||
walk.stack.push({ blocks, indentation: start.indentation, kind: 'item', list })
|
||||
}
|
||||
|
||||
// An item after a closed one, such as an empty item a blank line ends, continues the list beside it.
|
||||
// An item opening after its list's last item closed, as an empty item a blank line ends does, continues that list.
|
||||
function openedList(walk: Walk, start: Extract<ContainerStart, { kind: 'item' }>): ListBlock {
|
||||
if (!start.fresh) return start.list
|
||||
const blocks = currentBlocks(walk)
|
||||
|
||||
Reference in New Issue
Block a user