3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-12 11:48:29 +01:00

15 Commits

Author SHA1 Message Date
lilleman ca6016b4b6 Replace isAdfDocument with readAdfDocument, reading the input once into a plain copy 2026-11-09 07:51:13 +01:00
lilleman 59954f93b3 Gather an anonymized corpus of real-world ADF documents with each one's source and licence 2026-11-05 10:40:48 +01:00
lilleman 73c262c5e8 Answer prose round 1: 0 🔴, 10 🟡 (0 misread); say the HTML is read as a browser spells it, wherever it said exactly 2026-10-31 02:34:47 +01:00
lilleman 6cc59f8574 Read adfToHtml's HTML in htmlToAdf as a browser serializes it too 2026-10-31 02:34:47 +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 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 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 8173d68727 Keep the browser leg on dist/index.js: tag -0 in the JSON it hands back 2026-10-03 14:44:14 +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 2ae9dcfb24 AGENTS.md §11: a sort keys on the name a line introduces, so an import sorts on its first binding 2026-09-18 23:03:13 +02:00
lilleman b288843da1 4.4: the real payloads 2026-09-15 19:18:49 +02:00
lilleman 50df607c8a 4.1: the browser leg compares through toEditorNormal 2026-09-14 20:21:32 +02:00
lilleman 0b40aaea06 Check in the CommonMark spec suite and pin its exception list 2026-09-05 18:56:28 +02:00
lilleman 3d76f254d0 5d: the review's image swap, teardown trap and fixture-name assertions 2026-09-04 10:57:35 +02:00
lilleman ac7d7de2ec 5d: the browser leg 2026-09-04 09:49:44 +02:00