3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00
Commit Graph

122 Commits

Author SHA1 Message Date
lilleman ead2e7f4b7 Give the unmarked bare text check and the text-holding-content refusal one owner each 2026-10-03 16:22:19 +02:00
lilleman 72f919ae04 Rename isPlainText to isBareText, apart from the plain flavour, and say truly what it admits 2026-10-03 16:19:09 +02:00
lilleman 410665e2d3 Name the emitter's block walk PlacedBlocks, apart from the parser's Walk 2026-10-03 15:52:43 +02:00
lilleman 84a0750397 Keep 'carry' for the opaque carry: holdsOnlyAttributes, spellEdgeWhitespace, bothCommonMark 2026-10-03 15:52:19 +02:00
lilleman 4e6a4b5ac4 Name the two text-joining rules for whose rule they are, side by side in adjacent-text.ts 2026-10-03 15:51:41 +02:00
lilleman acc8227598 Gather the plain flavour's code in markdown/plain/ 2026-10-03 15:50:24 +02:00
lilleman af98e9cbdc Trim two comments 2026-10-03 15:12:54 +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 ae19cdae1b Take the raw run's refusal path only where its code matches the editor-normal refusal 2026-10-03 14:41:42 +02:00
lilleman 8958eab08e Write the same plain markdown for documents the editor holds equal: normalize the reduction's input again, naming a refusal by the caller's document 2026-10-03 14:32:34 +02:00
lilleman 6b18aefedc Index a plain refusal's path in the caller's document: normalize only the reduction's output 2026-10-03 14:22:14 +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 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 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 31c7978f52 35b - review: the escape test names the renderer 2026-09-29 12:21:51 +02:00
lilleman e6e53e84bd 35b - review: escape a task marker opening any list item's first paragraph 2026-09-29 12:18:21 +02:00
lilleman 2e3631225d 35b - review: tests for escaping every list item's task marker 2026-09-29 12:18:16 +02:00
lilleman 96b5068cc2 35b - review: a task-list child reducing to nothing counts toward neither spelling 2026-09-29 12:13:54 +02:00
lilleman 69cefb830a 35b - review: runs as a non-empty tuple, no item for a stray child reducing to nothing, 42 filed 2026-09-29 12:13:11 +02:00
lilleman 456dd9ab27 35b - review: test that a stray task-list child reducing to nothing writes no item 2026-09-29 12:13:00 +02:00
lilleman aad2ada03e 35b - review: drop every unread highlight in one pass, one task-as-text path, a linear title trim 2026-09-29 12:05:04 +02:00
lilleman f5ec473b83 35b - review: tests for dropping every unread highlight, a phantom task item and a title's trailing blanks 2026-09-29 12:01:56 +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 1d7797bbdc 35a - the parser reads the plain flavour and the lift goes 2026-09-28 22:02:55 +02:00
lilleman eaa55d923d 36c - review: a Deno premise that holds today, the plain reduction's memo named 2026-09-28 11:14:27 +02:00
lilleman e7a464d4d8 36c - review: premises that expire, no todo-history citations, the memo's key at the code, Goal 10 checkable 2026-09-28 11:08:17 +02:00
lilleman 531751e1f7 36c - §10 and §11's decisions move to docs/decisions.md 2026-09-28 10:55:07 +02:00
lilleman 776750cedd 10c - a list standing in a list or task list keeps its numbers as text past the marker cap 2026-09-26 13:28:13 +02:00
lilleman 38b34ae171 10c - review: link and code span edges named in the README, 10e filed, leafEdges trail simplified 2026-09-26 13:26:20 +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 8121bcfe73 10b - the lift, with alert words, task markers and == shared with the reduction 2026-09-25 20:52:44 +02:00
lilleman 4e990c7854 10a - three comments restating their function go 2026-09-25 19:40:27 +02:00
lilleman 1a855a8149 10a - numbered lists whose numbering breaks merge as one bullet list keeping their numbers 2026-09-25 19:39:54 +02:00
lilleman aaa0fa863d 10a - tests: a marker-shaped number opening an item stays escaped 2026-09-25 19:39:16 +02:00
lilleman f193b5fce2 10a - tests: numbered lists whose numbering breaks keep their numbers as text 2026-09-25 19:38:46 +02:00
lilleman d4c7ffefbd 10a - a value blank once cleaned counts as empty 2026-09-25 19:37:21 +02:00
lilleman 830a22fecc 10a - tests: a value blank once cleaned leaves the note or fallback 2026-09-25 19:36:59 +02:00
lilleman c8de650792 10a - a list a numbered list becomes merges with its neighbours, and a note's name is cleaned before it is checked 2026-09-25 19:33:26 +02:00
lilleman b9619bc173 10a - tests: the give-way case spells its nested list tight 2026-09-25 19:32:45 +02:00
lilleman b44743522f 10a - tests: an overflowing numbered list merges with its neighbours, and a blank key names an extension 2026-09-25 19:32:13 +02:00
lilleman 78c4c86d09 10a - notes clean their names, leading rules give way, an overflowing numbered list keeps its numbers, one fallback order 2026-09-25 19:28:53 +02:00
lilleman d49b95d336 10a - tests: a marker-shaped number opening an item stays escaped 2026-09-25 19:28:53 +02:00
lilleman a11affd0cb 10a - tests: clean note names, drop every leading rule, keep an overflowing numbered list, random localIds 2026-09-25 19:27:40 +02:00
lilleman 1dfdcd4474 10a - a rule opening a list item gives way, and the list stays a list 2026-09-25 19:13:26 +02:00
lilleman 1705ef71fe 10a - the reduction keeps what a reader sees or follows, and names what the document only references 2026-09-25 19:10:47 +02:00
lilleman 76b31d92fe 10a - the reduction spells a document in the flavour without directives 2026-09-25 19:03:10 +02:00
lilleman 1dea2b587e 10a - the line emitter names the first fallback a plain line would take, and the mark run it drops 2026-09-25 19:03:10 +02:00