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

59 Commits

Author SHA1 Message Date
lilleman 14ec866bed Read a list whose bullet or ordered delimiter changes as two lists, and alternate the marker between adjacent lists in place of !adf:listBreak 2026-10-09 14:50:50 +02:00
lilleman 2e640ded91 Answer architecture round 1: splitTaskList groups a list into items, bulletBlocks returns the split blocks itself, isTaskItem lives in adf/, a property reads generated task lists through portableMarkdownToAdf, and items 56 and 93 name today's code 2026-10-09 14:37:06 +02:00
lilleman 23ec45febd Give each markdown input its own reader: commonMarkToAdf, losslessMarkdownToAdf and portableMarkdownToAdf, each claiming only its flavour 2026-10-09 03:08:39 +02:00
lilleman a62cd39809 Answer architecture round 2: rename isBareText to isSpellableText, say which link holdsLink counts, the README names the type passed 2026-10-07 12:39:45 +02:00
lilleman 41ac4510f5 Answer architecture round 1: name a non-string by typeof alone, name and comment what the seats could not read, file items 81 and 82 2026-10-07 12:39:45 +02:00
lilleman 1b55e0f528 Answer prose round 3: the comments on highlight pairing, escaped backtick lengths and the memo read once, and the Raw HTML paragraph loses its half clause 2026-10-04 23:36:47 +02:00
lilleman 1ff27164f8 Answer architecture round 2: the spelling memo, headroom and the escaped backtick lengths state their rule at the code, and the highlight counter is named for what it counts 2026-10-04 23:36:47 +02:00
lilleman 88ec96556c Answer architecture round 1: the comments the panel found as bare spec pointers state their rule, and the spec cites no plan item 2026-10-04 23:36:47 +02:00
lilleman e81e0560a5 Answer prose round 1: the refusal list lives in the error row, the slot rule gives its reason, and stale item citations go 2026-10-04 21:09:51 +02:00
lilleman e040d1d3ef Spell every document the emitter refused for a carriage return, a null character, a code-span line start or an empty text node 2026-10-04 20:29:29 +02:00
lilleman ead2e7f4b7 Give the unmarked bare text check and the text-holding-content refusal one owner each 2026-10-03 16:22:19 +02:00
lilleman 72f919ae04 Rename isPlainText to isBareText, apart from the plain flavour, and say truly what it admits 2026-10-03 16:19:09 +02:00
lilleman 410665e2d3 Name the emitter's block walk PlacedBlocks, apart from the parser's Walk 2026-10-03 15:52:43 +02:00
lilleman 84a0750397 Keep 'carry' for the opaque carry: holdsOnlyAttributes, spellEdgeWhitespace, bothCommonMark 2026-10-03 15:52:19 +02:00
lilleman acc8227598 Gather the plain flavour's code in markdown/plain/ 2026-10-03 15:50:24 +02:00
lilleman 6a54757839 Spell 'a text node holding its text and marks alone' once, as isPlainText 2026-10-03 14:44:00 +02:00
lilleman 039aac8873 Make markdownToAdf(adfToMarkdown(doc)) deep-equal doc: textBreak, empty keys, -0, typed carry fences, code blocks of several text nodes 2026-10-03 12:25:01 +02:00
lilleman e6e53e84bd 35b - review: escape a task marker opening any list item's first paragraph 2026-09-29 12:18:21 +02:00
lilleman aad2ada03e 35b - review: drop every unread highlight in one pass, one task-as-text path, a linear title trim 2026-09-29 12:05:04 +02:00
lilleman 89911a501c 35b - the writer spells the plain flavour and escapes text that would read as its markers 2026-09-29 11:42:46 +02:00
lilleman eaa55d923d 36c - review: a Deno premise that holds today, the plain reduction's memo named 2026-09-28 11:14:27 +02:00
lilleman e7a464d4d8 36c - review: premises that expire, no todo-history citations, the memo's key at the code, Goal 10 checkable 2026-09-28 11:08:17 +02:00
lilleman 531751e1f7 36c - §10 and §11's decisions move to docs/decisions.md 2026-09-28 10:55:07 +02:00
lilleman 78c4c86d09 10a - notes clean their names, leading rules give way, an overflowing numbered list keeps its numbers, one fallback order 2026-09-25 19:28:53 +02:00
lilleman e6befe0890 27 - the level the list's directive form spends is stated at the check that pays it 2026-09-24 00:19:45 +02:00
lilleman 71c988a861 27 - directiveItems loses the comment that explained the removed subtraction 2026-09-24 00:19:05 +02:00
lilleman 5b7e444b15 27 - a placed block carries no headroom, so the list's directive items write none 2026-09-24 00:05:08 +02:00
lilleman a7c1ffbec9 23 - the block directive's spellings are one file 2026-09-23 23:13:01 +02:00
lilleman 2799c30389 32 - a mark's attribute depth is counted from its value, the marks spelling refusing its own 2026-09-22 21:51:47 +02:00
lilleman fb48a5da6b 21 - the table's row is the node's model, never the node 2026-09-21 21:45:11 +02:00
lilleman 4036b677ed 21 - the ADF tables carry ADF's nouns 2026-09-21 21:39:59 +02:00
lilleman 4f4302b5ba 20 - every spelling tried ahead of a directive form takes the try prefix 2026-09-21 21:20:47 +02:00
lilleman 396cea65c0 A read below the depth that filled the memo re-spells, so the depth guards still run 2026-09-19 13:37:58 +02:00
lilleman 5938b63e85 18 - the parse keeps each node's readable spelling, so the directive ask spells it once 2026-09-19 13:18:33 +02:00
lilleman afc0a42369 14 - the CommonMark subset moves under src/markdown/commonmark/ 2026-09-18 20:27:22 +02:00
lilleman 6df3b60a1f 4b - review nits: the list's headroom folds into its item loop, emitBlocks inlined, panel-wrapped boundary pinned, 4c note says cubic 2026-09-18 00:43:56 +02:00
lilleman 9c0daa18d5 4b - the walk reports its headroom, so a list falling back to the directive form refuses at zero and the list limit stays 500 2026-09-18 00:34:52 +02:00
lilleman bd14b25b20 4b - the block walk spells a list from one walk, a list and its item counting two levels in every spelling 2026-09-18 00:13:55 +02:00
lilleman ab5127f821 12c: one block opener speller beside its reader, the line readers split along the union, and AGENTS.md records the leaf body 2026-09-16 19:21:06 +02:00
lilleman 0eb2665ffe 12c: the block directive forms read and spell !adf: openers and closers 2026-09-16 15:46:52 +02:00
lilleman 02bb6ff5d2 4.2: a list whose item holds a whitespace-only line takes the directive form 2026-09-14 23:25:13 +02:00
lilleman 94d5aa1dad 4.1: editor-normal and the node accessors 2026-09-14 20:11:25 +02:00
lilleman ccdc8cb999 5c: report the depth cause from the guards, and make the publish converge 2026-09-03 21:19:01 +02:00
lilleman 98bbb232c1 5c: the build, the freeze audit and the release pipeline 2026-09-03 20:26:25 +02:00
lilleman 5f8933e432 5b3: merge the code list's duplicate causes, spell the list separator, claim the bare pipe table 2026-09-03 19:05:23 +02:00
lilleman bcb6a9bd1e 5b2: name the violation in every error message, and the escape a claimed line takes 2026-09-03 17:52:31 +02:00
lilleman 95ed15a638 Charge a carried node against the levels its position leaves, and part the causes one guard hid 2026-09-03 08:01:27 +02:00
lilleman ee8e1d956e Answer the stability pass: the strip that changed nothing, and the words the body earns 2026-09-01 19:13:13 +02:00
lilleman c02374a234 Answer the architecture pass: the list a blank line split, and the slot the seam names 2026-09-01 18:20:53 +02:00
lilleman 4688dbd2cb Read the block nodes back, and stop a marker change splitting a list 2026-09-01 17:58:29 +02:00