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

66 Commits

Author SHA1 Message Date
lilleman 36b782786c Keep a directive mark's content on one line where it is emitted, as main does 2026-10-09 12:02:45 +02:00
lilleman f195ebd14e Answer architecture round 4: the writers close a mark run at a hard break again, and item 91 plans the joined spelling 2026-10-09 12:00:40 +02:00
lilleman 45b5446f63 Answer architecture round 3: one joinsBreaks flag in place of the parted set and its retry loops, a directive link spells its break, and takesMarks names the table's field 2026-10-09 11:55:32 +02:00
lilleman 6f1a16b04a Answer prose round 1: plainer decision title and spec, the refusal the spec owes, and comments that say why 2026-10-09 11:50:23 +02:00
lilleman b4f8c042e6 Answer stability round 3: a link directive holding a joined hard break falls back to parting it 2026-10-09 11:32:38 +02:00
lilleman ddaec3087e Answer stability round 2: a run that cannot be spelled parts at its hard breaks before the carry takes it, and the recipe bullet names the content it passes 2026-10-09 11:21:56 +02:00
lilleman dd7e791d0e Answer product-owner round 1: an emphasis or link run spans an unmarked hard break, the recipe drops a hard break's marks, and the refusal names hard breaks 2026-10-09 11:15:58 +02:00
lilleman 018c8b1ea7 Answer architecture round 1: the node table says a hard break takes no marks, and a link text of hard breaks alone reads as its destination 2026-10-09 11:04:30 +02:00
lilleman 39fda3341e Build a hardBreak carrying no marks where a mark spelling spans a line break, in every reader 2026-10-09 10:54:56 +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 640772bc0f Answer prose round 2: the edge-whitespace comment names the real spelling, the Raw HTML paragraph loses its half clause, items 75 and 77 read once 2026-10-04 23:36:47 +02:00
lilleman e4435008ac Answer architecture round 1: the publish job's write token reaches only the tag push, publishing names main, and the audit's other findings are filed 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 ebdffcf715 Answer stability round 2: the carries comment names the carries it decides 2026-10-04 21:09:51 +02:00
lilleman cfd8e7d823 Answer stability round 1: carries() decides every leaf carry up front, so the line is emitted once 2026-10-04 21:04:57 +02:00
lilleman 0bc086ba43 Answer architecture round 1: a code span opening a line spells as CommonMark, the slot refuses a null character, every generated document emits 2026-10-04 20:43:46 +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 84a0750397 Keep 'carry' for the opaque carry: holdsOnlyAttributes, spellEdgeWhitespace, bothCommonMark 2026-10-03 15:52:19 +02:00
lilleman 4e6a4b5ac4 Name the two text-joining rules for whose rule they are, side by side in adjacent-text.ts 2026-10-03 15:51:41 +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 69cefb830a 35b - review: runs as a non-empty tuple, no item for a stray child reducing to nothing, 42 filed 2026-09-29 12:13:11 +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 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 1dea2b587e 10a - the line emitter names the first fallback a plain line would take, and the mark run it drops 2026-09-25 19:03:10 +02:00
lilleman 8b9fda5fa0 25 - the definitions §11 held sit at the code, and §8 says only what the README does not 2026-09-23 23:36:24 +02:00
lilleman a52ec5a73d 22 - the line container is markdown's, so the seam is the two spelling asks 2026-09-21 22:15:27 +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 35aa6da62b Prose pass: the guard's comment goes, and one spelling states the coverage bar 2026-09-20 17:59:34 +02:00
lilleman a5faad2086 Review nit: the attempt names the fallback it takes, so no arm is reached by elimination 2026-09-20 17:57:13 +02:00
lilleman 0670ad667d 28 - the line's retry takes one fallback per pass, so it cannot spin 2026-09-20 17:49:54 +02:00
lilleman 220cf31db2 15 - refuse the directive link spelling no href, so the mark has one spelling 2026-09-18 23:08:34 +02:00
lilleman afc0a42369 14 - the CommonMark subset moves under src/markdown/commonmark/ 2026-09-18 20:27:22 +02:00
lilleman da13687cf7 4c - the guard's spread was a class: the code block's held lines and a mark run's segments too 2026-09-18 20:03:56 +02:00
lilleman 4a8040db19 4c - the label trim, the segment tail, the break run and the guard's spread stop re-walking 2026-09-18 20:03:56 +02:00
lilleman ba266d26e9 13b - review nits: README code span, AGENTS.md §2 example, comments, block-directive link message 2026-09-16 23:28:31 +02:00
lilleman eea9e01d52 13b - link arm back in emitLink, one isBareLink, directiveMarkPiece, refusal names the spelling, spec subset section follows 2026-09-16 23:15:34 +02:00
lilleman b02dea1277 13b - link takes the directive form where CommonMark cannot spell it, unspellable-link leaves the code list 2026-09-16 23:09:30 +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 d2b252ae07 12b: the inline opener speller takes its reader's name, and todo.md records 12c's collapses 2026-09-16 10:03:49 +02:00
lilleman e7d3697dc4 12b: the inline directive forms read and spell the !adf: prefix 2026-09-16 09:52:52 +02:00
lilleman c5168ee985 4.3: a link opening a paragraph that reads as a link reference definition rides the carry 2026-09-15 21:22:34 +02:00
lilleman 04dc38c5d6 4.2: a link target's would-be directive escapes inside a directive's content 2026-09-14 23:25:13 +02:00