3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Answer prose round 1: the README drops the parse-path sentence and the comments say what stands in and why

This commit is contained in:
2026-10-11 12:01:26 +02:00
committed by Lillem4n
parent be3ac4af22
commit cc40fb95f2
5 changed files with 7 additions and 8 deletions
@@ -180,7 +180,7 @@ test('stands a block a task item cannot hold, and what follows it in the item, a
])
})
test('names the place a refused block would stand once the task list moves it', () => {
test('names where a refused block stands after the task list splits', () => {
const refused = (markdown: string): string => {
const parsed = portableMarkdownToAdf(markdown)
return parsed.ok ? 'read' : parsed.error.path.map((step) => '/' + step).join('')