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

54 Commits

Author SHA1 Message Date
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 be6e5acd24 Pin a code block holding content=empty beside its language 2026-10-03 15:04:35 +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 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 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 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
lilleman 28e881e3fb 4.2: a link's brackets balance inside a directive's content 2026-09-14 23:25:13 +02:00
lilleman f8247ebb75 4.2: an empty link destination beside a title spells <> 2026-09-14 23:25:13 +02:00
lilleman fb4caa6f3d 4.1: the review's test and comment fixes 2026-09-14 20:11:25 +02:00
lilleman 9a667c15c1 4.1: a text node carrying attributes never merges 2026-09-14 20:11:25 +02:00
lilleman a540cdbe02 5b3: name the alignment form the bare shape claims, record the reserved names' codes 2026-09-03 19:23:48 +02:00
lilleman 5f8933e432 5b3: merge the code list's duplicate causes, spell the list separator, claim the bare pipe table 2026-09-03 19:05:23 +02:00
lilleman 09a9a6864b Answer the stability pass: the slot a line ending reached, and the text an image description dropped 2026-09-01 22:35:05 +02:00
lilleman bd6dee350a Answer the architecture pass: the seam attribute reading names, and the speller a third file copied 2026-09-01 22:11:21 +02:00
lilleman 0ddfd11107 Read the inline nodes and the marks back, and keep the whitespace CommonMark does not strip 2026-09-01 21:35:52 +02:00
lilleman 4688dbd2cb Read the block nodes back, and stop a marker change splitting a list 2026-09-01 17:58:29 +02:00
lilleman cc794d541e Read the emphasis, the links and the lone image CommonMark spells (#34) 2026-08-31 22:33:54 +02:00
lilleman 5975d8d912 Read the inline text, and decode the escapes and references CommonMark spells (#33) 2026-08-30 23:32:57 +02:00
lilleman 310c2c3827 Refuse two adjacent lists on the marker spelling, not the node type 2026-08-30 20:48:04 +02:00
lilleman db7455fc33 Answer the stability review: a code or HTML block swallows the marker line too 2026-08-30 20:18:25 +02:00
lilleman 0cc34bcbbb Read the container blocks, and part a nested list the tight spelling would swallow 2026-08-28 14:46:14 +02:00
lilleman a36e3e1a37 Give the leaf block an arg slot, and drop the branch the leaf collapse orphaned 2026-08-27 15:41:38 +02:00
lilleman 8fe8760c78 Answer the review: one shape predicate, and the readable spellings give way 2026-08-27 15:35:24 +02:00
lilleman 97d34e3118 Give the CommonMark blocks a directive form for what their spelling cannot hold 2026-08-27 14:12:55 +02:00
lilleman c42cffc434 Answer the review: one home per contract, and cover the matching's last branch 2026-08-27 13:17:08 +02:00
lilleman 5063ad5fc2 Model CommonMark's emphasis matching, and escape the delimiter that only closes 2026-08-27 12:42:46 +02:00
lilleman d1799ac379 Fix the false claims round one found, and refuse the content a code span dropped 2026-08-27 11:42:43 +02:00
lilleman 61726d6e70 Carry what no section or mark spelling writes, and drop the mark refusal 2026-08-27 10:38:34 +02:00
lilleman bb26089271 Pin the two scans the narrowing left alone, and name what stays raw 2026-08-27 00:07:44 +02:00
lilleman cd34dbecc2 Keep the link-opener scan out of emitted syntax, which binds first 2026-08-26 23:53:18 +02:00
lilleman 2ebaeedfc9 Escape the quoted attribute value, and pin the canonical form and the pipe cell's edges 2026-08-26 23:27:29 +02:00
lilleman 2e4d9c4143 Corpus 2e2: the mark runs, the run a carry breaks, and one mark vocabulary 2026-08-26 22:47:13 +02:00
lilleman 2a5c848e81 Hold the lazy-continuation fence, and fault a colon run that closes nothing 2026-08-26 22:29:02 +02:00
lilleman b0c7066810 Corpus 2e1: the carve-out escapes, the claimed line, and the 2e split 2026-08-26 22:14:06 +02:00
lilleman 62da0c7082 Say what the emitter actually refuses, and pin the carry in the wrappers that rewrite its lines 2026-08-26 16:21:58 +02:00
lilleman 964e13c167 Emitter 2d: the opaque carry in both positions and the reserved info string 2026-08-26 15:46:02 +02:00
lilleman e1a5d08dea Refuse the pipe form where a link hides a pipe, and fall back to the directive form for every image CommonMark cannot spell 2026-08-25 16:12:56 +02:00
lilleman ac507b8782 Carry the fence depth through blockquotes and lists, and split the block spelling from it 2026-08-25 15:33:24 +02:00
lilleman a49f45884f Pin the mark run and a line break's whitespace edges 2026-08-24 14:39:18 +02:00
lilleman 1e7f566d41 Corpus 1d3: the inline-node pairs, the content slot and the whitespace spelling 2026-08-24 14:21:40 +02:00
lilleman 344282cf84 Scope block separation around lists, guard media marks, and keep the corpus editor-authorable 2026-08-24 13:55:21 +02:00