3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Answer prose round 1: 0 🔴, 14 🟡 (0 misread); correct comments that misstated the code, fix item 174's figures and tagline, retitle item 173

This commit is contained in:
2026-11-08 22:00:59 +01:00
committed by Lillem4n
parent 2017777596
commit 186050f906
9 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import { nodeAttrs, nodeContent } from '../adf/document.ts'
import { partsShownText, referenceName, shownImage, shownLink, shownText, shownUrl } from '../adf/shown-text.ts'
import { shownValue } from './escaping.ts'
// One object per block a node stands in, so a block's content after a nested block parts from its content before; `code` the code block it is, if any.
// Compared by reference: each block makes one, so its content after a nested block starts a new shown block. `code`: this block, where it is a code block.
type BlockPart = { code: AdfNode | undefined }
type ShownBlock = { html: string; part: BlockPart }