3
0
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:
2026-10-09 15:23:05 +02:00
committed by Lillem4n
parent e689b83f64
commit 167bf1ff9b
10 changed files with 35 additions and 40 deletions
+1 -1
View File
@@ -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)