3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +01:00
Commit Graph

248 Commits

Author SHA1 Message Date
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 7a38db2563 Answer principles round 1: 3 🔴, 8 🟡 (0 misread); attributes as data-*, carried content as paragraphs, links and notes, no character HTML cannot hold, mutants killed 2026-10-26 13:20:27 +01:00
lilleman e234905c27 Answer architecture round 1: 2 🔴, 6 🟡 (0 misread); one escaping path refusing null characters, block writers returning their pieces, the HTML writer split, shared entry checks, lint between formats 2026-10-26 13:20:27 +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 ab3c07a23a Answer prose round 1: 0 🔴, 4 🟡; plainer bracket-stack comments, a truer item 56, the label line spellings first 2026-10-23 12:08:09 +02:00
lilleman 94f4df4dcf Answer stability round 1: 0 🔴, 6 🟡; share the label limit with readLabel, pin it at 1000 characters, move item 129 to the changelog 2026-10-23 12:08:09 +02:00
lilleman ddcfa6ee1a Answer principles round 2: 1 🔴, 1 🟡; bound the collapsed label at 999 too, pinned by a test 2026-10-23 12:08:09 +02:00
lilleman f1aca51916 Answer principles round 1: 2 🔴, 5 🟡; bound a shortcut label at 999, file item 130, keep literal brackets as text, split pairingsByOpener 2026-10-23 12:08:09 +02:00
lilleman 759c522767 Read emphasis and link brackets in time linear in the inline markdown 2026-10-23 12:08:09 +02:00
lilleman abb2b417ff Name parseInlineContent as the caller asking the emitter about an opening link 2026-10-23 10:45:33 +02:00
lilleman 45515e9c85 Carry each (image) one way: the link directive moves its own to the end 2026-10-23 10:45:33 +02:00
lilleman ef14f98c3e Answer prose round 1: 0 🔴, 8 🟡; split the image-in-link ruling out, place the (image) plainly, credit only the same-URL rule to the portable writer 2026-10-23 10:45:33 +02:00
lilleman 17722a0f57 Answer stability round 1: 0 🔴, 3 🟡; pin the image titles besideLink compares, drop two dead clauses, file item 129 2026-10-23 10:45:33 +02:00
lilleman 28878122ee Answer product-owner round 1: 0 🔴, 1 🟡; write no (image) after a link to the image itself 2026-10-23 10:45:33 +02:00
lilleman 49ec55bef2 Answer architecture round 2: 1 🔴, 0 🟡; keep each (image) a piece of its own through every mark slot, so no image description reads it as alt text 2026-10-23 10:45:33 +02:00
lilleman 78104b6746 Answer architecture round 1: 1 🔴, 2 🟡; keep the (image) trailer out of alt text, refuse a node slot holding an image inside a link 2026-10-23 10:45:33 +02:00
lilleman e82998c322 Keep an image's URL and title inside a link as (image) after the link 2026-10-23 10:45:33 +02:00
lilleman 2d7d8f8af6 Spell a portable link title holding a backslash, an entity reference or, in a table cell, a pipe 2026-10-22 22:06:59 +02: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 d36c99cd55 Answer principles round 1: 0 🔴, 2 🟡; drop the source-scanning test and file the lint question 2026-10-22 00:17:14 +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 db10287cae Append the reading-cost figure 2026-10-22 00:17:14 +02:00
lilleman cc01b5e4c6 Answer auto-reviewer round 1: 0 🔴, 0 🟡; hold the Line comment to one line 2026-10-18 12:19:46 +02:00
lilleman df7bc0b266 Answer prose round 1: 0 🔴, 3 🟡; rewrite the Line comment and two test names, and name the markdown in the changelog entry 2026-10-18 12:19:46 +02:00
lilleman 2fb5366952 Answer stability round 1: 1 🔴, 2 🟡; read a quote marker behind a split tab's leftover columns as text, and pin the tab cases 2026-10-18 12:19:46 +02:00
lilleman a140f5a244 Keep a split tab's leftover columns as a number, so a cut under nested list items never copies the line 2026-10-18 12:19:46 +02:00
lilleman ee89efea88 Answer prose round 1: 0 🔴, 4 🟡; cut the decisions entry to what was kept, split the changelog bullet, and drop the item 120 tagline's clause 2026-10-18 11:48:41 +02:00
lilleman ddccd00243 Answer stability round 1: 0 🔴, 3 🟡; pin the blank line's spaces in an item's code block, drop the timing-only tests, and file tab-indented lines as item 120 2026-10-18 11:48:41 +02:00
lilleman 5f8c7cf2eb Answer principles round 1: 0 🔴, 2 🟡; read an inline directive from the InlineSource holding its text and closer, and name the quote edges apart from the quotes passed 2026-10-18 11:48:41 +02:00
lilleman d82b7abb3f Read deep list items' blank lines and a directive's unclosed backtick runs in time linear in the markdown 2026-10-18 11:48:41 +02:00
lilleman e12249e593 Read and write unclosed backtick runs and HTML openers in time linear in the text 2026-10-18 11:09:16 +02:00
lilleman f32945350a Answer stability round 1: 0 🔴, 2 🟡; seed the withheld-mark carries once per line, pin the single highlight around a link 2026-10-14 21:10:41 +02:00
lilleman c9f9276df9 Answer architecture round 1: 1 🔴, 2 🟡; read a node's taken mark types once, let the highlight ask takesMark, correct the README's code-span bullet 2026-10-14 21:10:41 +02:00
lilleman 278ebbbad5 Give code text no mark but code, link and annotation, in every reader 2026-10-14 21:10:41 +02:00
lilleman 6c389b9c83 Answer prose round 1: 0 🔴, 8 🟡; say which marks a node refuses, and name the fix in the directive mark refusal 2026-10-14 15:08:46 +02:00
lilleman 1ece44c882 Answer stability round 1: 0 🔴, 1 🟡; pin the directive mark guard to the mark's own type 2026-10-14 15:08:46 +02:00
lilleman 6842f386ae Answer architecture round 1: 2 🔴, 4 🟡; refuse a link around only nodes that take none, mark the change breaking, file code-text marks 2026-10-14 15:08:46 +02:00
lilleman 1ae7ba6992 Give an inline node no mark Atlassian's schema withholds from it, in every reader 2026-10-14 15:08:46 +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 39a7f16b95 Answer prose round 1: 0 🔴, 6 🟡; list unsupported-node-shape causes as sub-items with their remedies 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