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

109 Commits

Author SHA1 Message Date
lilleman d0867686d5 Build text holding no border mark in losslessMarkdownToAdf, and carry text holding one 2026-10-31 03:10:24 +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 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 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 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 e882b5de7a Spell colwidth as a comma list and a block's marks by name 2026-10-14 10:48:12 +02:00
lilleman aa73e7d673 Spell the corpus's linked image as [![alt](url)](href) 2026-10-11 13:31:18 +02:00
lilleman 559ad4ec3c Answer architecture round 1: a * marker before a first line of * alone takes a backslash, the marker choice is a decision, the spec names which lists alternate, and the stale listBreak test goes 2026-10-09 15:39:13 +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 e4364b19d0 Answer prose round 1: plainer decision title and spec, the refusal the spec owes, and comments that say why 2026-10-09 12:21:18 +02:00
lilleman 2ca5ac41e6 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 12:21:18 +02:00
lilleman 3ff5c95f4c Build a hardBreak carrying no marks where a mark spelling spans a line break, in every reader 2026-10-09 12:21:18 +02:00
lilleman 0c6379a541 File the em 1/3 exceptions for examples 638 and 639 as pending under item 87 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 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 66e4c7e8b5 Document the three markdown readers: README, MIGRATION, CHANGELOG, the grammar, the decisions and the plan 2026-10-09 03:08:39 +02:00
lilleman bfe26dd438 Round-trip JSON keys holding a backslash, quote or control character, and generate them in the properties 2026-10-08 14:10:50 +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 6f00ec500c Rewrap the broken lines, and say plainly how an adf: fence stays code 2026-10-03 15:06:11 +02:00
lilleman be6e5acd24 Pin a code block holding content=empty beside its language 2026-10-03 15:04:35 +02:00
lilleman 101ce29f45 Pin the empty fence beside another as an error fixture 2026-10-03 15:04:04 +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 6a54757839 Spell 'a text node holding its text and marks alone' once, as isPlainText 2026-10-03 14:44:00 +02:00
lilleman 4b12951e38 Refuse a carry fence naming a type no info string carries back 2026-10-03 14:20:47 +02:00
lilleman f44cbecd9b Record deep equality, the text break, empty keys, -0, the typed carry fence and per-node code fences; file items 52 and 53 2026-10-03 12:28:20 +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 79f3bfa52d Answer the prose review's first round 2026-10-02 22:46:15 +02:00
lilleman fcb2876b4c Drop the retired milestone wording from the corpus README 2026-10-02 22:45:03 +02:00
lilleman 2e5003d3ad 36a - §1–§6's decisions move to docs/decisions.md, indexed from AGENTS.md 2026-09-28 00:37:01 +02:00
lilleman 0f79dac6ec 16 - no link wraps a link: the outer brackets go literal, the directive form is refused 2026-09-19 01:48:30 +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 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 d44aa3c358 13a - rule's color, style and weight and layoutSection's columnRuleStyle join the tables 2026-09-16 22:34:12 +02:00
lilleman 0fd236c749 12c: a leaf given a body faults at its opener 2026-09-16 19:19:15 +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 e7d3697dc4 12b: the inline directive forms read and spell the !adf: prefix 2026-09-16 09:52:52 +02:00
lilleman 5d09ad3d0e 4.3: a bare backtick run escapes wherever a later string of its length forms around an escape 2026-09-15 22:28:51 +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 4d032644f6 4.3: an escaped backtick run escapes whole, and a lone backtick before one escapes too 2026-09-15 21:05:16 +02:00
lilleman fca1b68b74 4.3: a paragraph line reading as a link reference definition escapes its opening bracket 2026-09-15 21:05:16 +02:00
lilleman 963744fb4f 4.4: a review comment as a real payload 2026-09-15 19:21:53 +02:00
lilleman b288843da1 4.4: the real payloads 2026-09-15 19:18:49 +02:00
lilleman 924bad7697 Settle 4.4's payloads as editor-written on the test site, and let 4.4 follow 12 2026-09-15 17:51:57 +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
lilleman 4c8b6c9bd8 4.2: an autolink holding a backtick gives way inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman 41b595b3bb 4.2: a link target's backtick escapes where it would open a code span inside a directive's content 2026-09-14 23:25:13 +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