From a674df9b754e2176349de39dcf639c7bb74b5d8c Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Sun, 18 Oct 2026 10:46:49 +0200 Subject: [PATCH] =?UTF-8?q?Answer=20principles=20round=201:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1;=20scope=20the=20changelog=20t?= =?UTF-8?q?o=20outside=20directives,=20and=20keep=20the=20backtick=20curso?= =?UTF-8?q?r=20inside=20a=20closure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 +-- src/markdown/commonmark/backtick-runs.test.ts | 24 ++++++------- src/markdown/commonmark/backtick-runs.ts | 34 ++++++++----------- src/markdown/commonmark/grammar.ts | 2 +- src/markdown/emit/line-escaping.ts | 9 +++-- src/markdown/inline-tokens.test.ts | 23 +++++++++++++ src/markdown/inline-tokens.ts | 9 +++-- todo.md | 5 +-- 8 files changed, 64 insertions(+), 47 deletions(-) create mode 100644 src/markdown/inline-tokens.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index f632ee8..1e9d3e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,9 @@ - `losslessMarkdownToAdf` names the CommonMark spelling to write when it refuses a directive whose node CommonMark spells, such as `[![alt](url)](href)` for a linked `!adf:mediaSingle`. - Every reader and writer takes time linear in a text holding many unclosed backtick runs, or many - `