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

219 Commits

Author SHA1 Message Date
lilleman b28c3e2590 Inline the identity blocks() helper in the plain reader tests 2026-10-03 15:04:15 +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
lilleman 9d043924e7 Derive a block directive's empty content from its node, and let readEmptyKeys own the attrs=empty-stands-alone rule 2026-10-03 14:45:12 +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 05c1728173 Hold a carried node's own marks on the item, not in a side set copies fall out of 2026-10-03 14:43:03 +02:00
lilleman 213b7c2d3f Name the adf: fence among the carve-outs, and the way a fence stays code in its errors 2026-10-03 14:41:30 +02:00
lilleman b34f9309f4 Set up every inline scan through one freshScan 2026-10-03 14:33:06 +02:00
lilleman 767d57f8df Say only the plain writer is editor-normal, and read plain markdown in the tests without normalizing 2026-10-03 14:23:04 +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 b78d841b34 Carry the text break as its own item, not a fake node, and check it where the outermost content resolves 2026-10-03 14:19:55 +02:00
lilleman 3aa693d2a1 Keep one merge loop and one mark key: editor-normal compares normalized marks with identicalMark 2026-10-03 14:17:22 +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 ef5dc415e3 41 - review: title text keeps its own spelling, only a node without text reads as the reduction does 2026-09-30 17:01:15 +02:00
lilleman 89706a87fa 41 - review: a callout title reads its nodes as the plain reduction does, one goal reference renumbered 2026-09-30 16:57:54 +02:00
lilleman 2372ac3e6c 41 - plainMarkdownToAdf keeps a callout title's link targets; Goal 6, what happens is what the audience expects 2026-09-30 16:32:13 +02:00
lilleman 6434233b97 10f - review: a node the carry restores stays deep-equal, its ids only skipped 2026-09-29 21:51:22 +02:00
lilleman b6294f4b9f 10f - review: tests for a carried node keeping its task nodes unminted 2026-09-29 21:51:22 +02:00
lilleman 62ce254793 10f - plainMarkdownToAdf mints task localIds as UUID v4s hashed from the markdown and position 2026-09-29 21:47:09 +02:00
lilleman 7939ba2ff5 cjk - review: tests for Hangul, a long-vowel mark and a Latin word bounding a highlight 2026-09-29 18:49:37 +02:00
lilleman 914b410ea5 cjk - tests for a highlight flush against a script written without spaces 2026-09-29 18:43: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 89993700b6 35b - tests for the writer spelling the plain flavour and escaping its markers 2026-09-29 11:32:45 +02:00
lilleman b1df7f3522 35a - review: an image refusal beside a marker names the line it shares, README wording, 41 filed 2026-09-28 22:17:22 +02:00
lilleman 8debf111e2 35a - review: tests for the image refusal naming where the image sits 2026-09-28 22:17:22 +02:00
lilleman 189f6d96a7 35a - review: a title keeps its ==, an image beside a marker is refused as before 2026-09-28 22:12:58 +02:00
lilleman e03ed219b6 35a - review: tests for an expand title's == and an image beside a marker 2026-09-28 22:12:58 +02:00
lilleman 1d7797bbdc 35a - the parser reads the plain flavour and the lift goes 2026-09-28 22:02:55 +02:00
lilleman 86c80fe40e 36b - §8, §9 and §14's decisions move to docs/decisions.md 2026-09-28 03:54:34 +02:00
lilleman fdce9667cf 10c - adfToPlainMarkdown and plainMarkdownToAdf exported, whitespace-only leaves trimmed at a line end 2026-09-26 13:20:16 +02:00
lilleman 84d989aa81 10b - a == pair is bounded by the code point outside it, CommonMark's word character test 2026-09-25 21:10:05 +02:00
lilleman 4727b51511 10b - tests: a symbol outside the BMP bounds a == pair 2026-09-25 21:09:12 +02:00
lilleman 1d02604a12 10b - an empty alert holds an empty paragraph, a == pair is bounded outside and passes over held nodes 2026-09-25 21:05:58 +02:00
lilleman 4cd35835ed 10b - tests: an empty alert holds an empty paragraph, a == pair is bounded outside and passes over held nodes 2026-09-25 21:04:50 +02:00
lilleman 1045e5be22 10b - a code span inside a == pair keeps code and takes no highlight 2026-09-25 20:54:46 +02:00
lilleman ff8e11ad9d 10b - tests: a code span inside a == pair takes no highlight 2026-09-25 20:54:04 +02:00
lilleman 8121bcfe73 10b - the lift, with alert words, task markers and == shared with the reduction 2026-09-25 20:52:44 +02:00
lilleman 767404c70b 10b - tests: the lift reads alerts, folded callouts, task markers and == pairs back into their nodes 2026-09-25 20:52:44 +02:00
lilleman c30034b9f5 26 - the container stack owns the directive depths, and the escape claim hands over after it records 2026-09-24 00:02:58 +02:00
lilleman 549fc845ec 26 - the escape phases and the container stack hold their invariants in types 2026-09-23 23:48:08 +02:00
lilleman a7c1ffbec9 23 - the block directive's spellings are one file 2026-09-23 23:13:01 +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 2e7eb0501b 21 - the parse walk reads blocks, so no name means two things 2026-09-21 21:40:43 +02:00
lilleman 4036b677ed 21 - the ADF tables carry ADF's nouns 2026-09-21 21:39:59 +02:00
lilleman 1d1bcb8b57 Pin the rebase's magnitude: one overflow list makes a constant accept what the emitter refuses 2026-09-19 13:43:34 +02:00
lilleman 396cea65c0 A read below the depth that filled the memo re-spells, so the depth guards still run 2026-09-19 13:37:58 +02:00
lilleman 5938b63e85 18 - the parse keeps each node's readable spelling, so the directive ask spells it once 2026-09-19 13:18:33 +02:00
lilleman 9d83701261 One comment guards the input's shape, the other the field 2026-09-19 02:33:23 +02:00