3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

5b3: surface the refusal an inline directive body holds

This commit is contained in:
2026-09-03 19:33:25 +02:00
parent a540cdbe02
commit 3398f31626
4 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
The grammar of the extended markdown `adfToMarkdown` emits and `markdownToAdf` parses. Plain
CommonMark is a subset with three carve-outs: literal text that matches directive syntax below or
shapes a pipe table is claimed by the flavour, and a matched `~~` pair spells `strike` (escape the
reads as a pipe table is claimed by the flavour, and a matched `~~` pair spells `strike` (escape the
`:`, `|` or `~` to keep it literal) — and one gap: a CommonMark image fits only as its own
title-less paragraph — mid-text and titled images are named errors. The emitted form is contract
(AGENTS.md §8). Per-node syntaxes build on this grammar in the sections below.