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

95 Commits

Author SHA1 Message Date
lilleman bffeb1f7d6 Ask the writer about an opening link in parse/ alone, and ban the markdown root from importing emit/, parse/ and portable/ 2026-11-10 21:38:30 +01:00
lilleman e9de121425 Answer architecture round 1: 0 🔴, 11 🟡 (0 misread); one line policy, one reduction run, named sweep stages, spelling memo, block text, link options, HTML refusals 2026-11-08 22:16:38 +01:00
lilleman 5ede92bf91 Answer architecture round 1: 0 🔴, 7 🟡 (0 misread); the read-back loop parts from the verdict, the reader takes the opening-link consult, the reading is absent on the parse path, a refused link escapes no backtick; root imports, highlight pairing and closeBracket filed as items 153 to 155 2026-10-28 19:15:04 +01:00
lilleman b0bf362ef9 Find code-span and link openers and unspellable mark runs by reading the escaped line back 2026-10-28 19:15:04 +01:00
lilleman 51e37f68df Ship htmlToAdf: read back exactly the HTML adfToHtml writes, a carry element from its data-adf alone, any other HTML refused 2026-10-28 11:36:54 +01:00
lilleman 6fe36d5947 Ship adfToHtml: semantic HTML for the CommonMark blocks and marks, an adf-carry element for the rest 2026-10-26 13:20:27 +01:00
lilleman d2531d059c Answer prose round 1: 0 🔴, 7 🟡; state the seam's comments and the decision exactly, and reflow 2026-10-22 21:38:41 +02:00
lilleman e1f37cde43 Answer principles round 1: 0 🔴, 7 🟡; mint task ids within the engine limits, fold == into inline-tokens.ts, keep one frame per quote level, pass the list's path once 2026-10-22 21:38:41 +02:00
lilleman 8f28d7bcc2 Answer architecture round 1: 0 🔴, 4 🟡; share the quoting, carry list facts on the spelled list, keep inExpand in the portable reader 2026-10-22 21:38:41 +02:00
lilleman 0c0a9e7835 Move the portable flavour's reading and writing into markdown/portable/ 2026-10-22 21:38:41 +02:00
lilleman 5278f68262 Answer prose round 1: 0 🔴, 4 🟡; fold item 102 into the decision's sentence and tighten the comments 2026-10-22 19:27:04 +02:00
lilleman 41ccdcb76e Answer stability round 1: 0 🔴, 1 🟡; pin the nesting limit of task lists 2026-10-22 19:27:04 +02:00
lilleman 3928fcddde Answer principles round 1: 0 🔴, 2 🟡; drop the unreachable guards and pass the list index in 2026-10-22 19:27:04 +02:00
lilleman f3b0576023 Place a refused task-list block by the one split of the list 2026-10-22 19:27:04 +02:00
lilleman 3f7b3a386e Answer architecture round 1: 0 🔴, 2 🟡; join empty-keys to the directive grammar and name the readers by direction 2026-10-22 00:17:14 +02:00
lilleman b080410852 Give the directive grammar, flavours and reader failures one place each 2026-10-22 00:17:14 +02:00
lilleman 0789e87c31 Name the marker a list takes after a list of its kind, from the list right before it 2026-10-14 13:18:14 +02:00
lilleman d69ffac722 Answer stability round 1: 1 🔴, 2 🟡; spell list hints from the node and the marker alternation, pin both pair-fault sites 2026-10-14 13:18:14 +02:00
lilleman 3391154518 Name the CommonMark spelling a refused directive takes, split the unsupported-node-shape row by cause, and pass readAttributes its pair fault 2026-10-14 13:18:14 +02:00
lilleman a0fdfe377e Answer architecture round 2: 1 🔴, 1 🟡; the CommonMark ask answers yes or no, the memo's callers name themselves, the bound's policy reads at its constant, Firefox's bare out-of-memory string is engine-limit, and the floor entry no longer points at item 110 2026-10-13 20:10:29 +02:00
lilleman 7bc69355c3 Answer prose round 1: the refusal messages name what passed the bound, the decisions read one idea a sentence, and the changelog gives the readers' fix its own bullet 2026-10-13 01:30:12 +02:00
lilleman 7caa8237f0 Answer architecture round 6: each block is held to the bound as it is built, the reader's ask takes the engine guard, and the chunk ships under a worse comprehension ruling by the maintainer's call, with item 110 to fill the memo in one place 2026-10-13 01:30:12 +02:00
lilleman a0bb09b80d Answer architecture round 4: the forecast and the indent leave, a writer refuses a document whose text alone passes the bound, and the joins are the one bound left 2026-10-13 01:30:12 +02:00
lilleman ae1a47f1bc Answer architecture round 3: the forecast never overcounts, the carry's JSON and the portable code block join through joinedWithin, and the list's choice of form stands in its own function 2026-10-13 01:30:12 +02:00
lilleman 3414c8690a Answer architecture round 2: every builder joins its pieces through one bounded join, the readers take the engine guard, every refusal stands at the document's path, and a portable list's refusal names its own place 2026-10-13 01:30:12 +02:00
lilleman e3aa790ec8 Refuse markdown past V8's longest string on every engine, before building it 2026-10-13 01:30:12 +02:00
lilleman cc40fb95f2 Answer prose round 1: the README drops the parse-path sentence and the comments say what stands in and why 2026-10-11 12:13:51 +02:00
lilleman a38b61347a Report a refusal's path where the node stands once the task list moves it 2026-10-11 12:13:51 +02:00
lilleman 40580e6948 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 15:39:13 +02:00
lilleman 180840532d Answer architecture round 2: itemParts takes one run of task lists over the item, the properties share blockTaskItemChildren, and readBlock's bullet case names who reads a task list first 2026-10-09 14:37:06 +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 cd6cb8bece Answer prose round 1: a task item keeps the task lists right after its paragraphs nested, and the README, changelog, decision, comment, item 49 and a test title say it plainly 2026-10-09 14:37:06 +02:00
lilleman 654a960888 Stand a block a task item cannot hold after its task list, in portableMarkdownToAdf and adfToPortableMarkdown 2026-10-09 14:37:06 +02:00
lilleman f7eb88ec1b Answer architecture round 5: name the alert and callout markers by their spelling, and item 56 its functions 2026-10-09 10:49:08 +02:00
lilleman d677222050 Read an image alone on an alert's marker line or the lines after it as the image, as a reader panel expected; item 88 filed 2026-10-09 10:49:08 +02:00
lilleman ee3086ad1e Answer prose round 1: one sentence per idea for the image readings, a decision title that states the rule, item 86 names its shapes 2026-10-09 10:49:08 +02:00
lilleman 88aef1c8c4 Answer architecture round 1: one owner for the image's ADF shape, the readings' decision, marker paragraphs, the exceptions the README names; items 87 filed and 56 widened 2026-10-09 10:49:08 +02:00
lilleman 3b621a9cef Read every CommonMark image and empty link: an image ADF holds no node for as its linked alt text, a title as its caption, an empty link text as its destination 2026-10-09 10:49:08 +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 913aae49ea Answer stability round 1: hand every not-a-string refusal its own position 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 2c4fadbd8b Refuse a markdown input that is not a string with not-a-string 2026-10-07 12:39:45 +02:00
lilleman 7da3c1fbbe Refuse an attribute value JSON does not hold, and push a folded callout's title leaves one at a time 2026-10-05 01:07:55 +02:00
lilleman acc8227598 Gather the plain flavour's code in markdown/plain/ 2026-10-03 15:50:24 +02:00
lilleman 4409d5befc Reword the attrs=empty and language-placement refusals, quoting a language that needs it 2026-10-03 15:17:40 +02:00
lilleman 91879d01b1 Lead the code block, empty-key, carry fence, text break and carry-in-mark refusals with their fix 2026-10-03 15:12:51 +02:00
lilleman d912bf1c9f Lead the refusals ordinary editing meets with the edit that fixes them 2026-10-03 15:05:36 +02:00
lilleman be691e56d7 Refuse attrs=empty on a code block whose fences carry its language 2026-10-03 15:03:58 +02:00
lilleman c1fe5f133e Read a carry fence's type in one function 2026-10-03 14:45:48 +02:00
lilleman 5701123943 Spell the doc directive's content=none through spellAttributes from one constant 2026-10-03 14:45:28 +02:00