From 0fd412e4267db352e374bba7f300b3fad5385c02 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 24 Sep 2026 00:19:05 +0200 Subject: [PATCH] 27 - directiveItems loses the comment that explained the removed subtraction --- src/markdown/emit/adf-to-markdown.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/markdown/emit/adf-to-markdown.ts b/src/markdown/emit/adf-to-markdown.ts index b74f75b..d476d28 100644 --- a/src/markdown/emit/adf-to-markdown.ts +++ b/src/markdown/emit/adf-to-markdown.ts @@ -254,7 +254,6 @@ function tryList(node: AdfNode, path: ConvertErrorPath, depth: number, memo: Spe return success({ headroom, spelling: 'list', text: lines.join('\n') }) } -// The directive form sinks each item's blocks a level below where the walk read them. function directiveItems(items: readonly WalkedItem[]): PlacedBlock[] { return items.map((item) => ({ ...directivePair(item.node, listItemOpener, joinBlocks(item.walk.blocks, 'directive')), node: item.node })) }