mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 15:15:44 +01:00
Pin the pipe-escape reading, enumerate the image gap, move the empty-key rule to §2
This commit is contained in:
@@ -40,8 +40,9 @@ isAdfDocument(v: unknown): v is AdfDocument
|
||||
attributes.
|
||||
- Plain CommonMark is valid input to `markdownToAdf`, with two carve-outs — literal text
|
||||
matching directive or pipe-table syntax is claimed (escapable — `spec/flavour.md`) — and one
|
||||
gap: an image title has no ADF home (an error result). Converting back yields the library's
|
||||
canonical spelling, which round-trips byte-identically.
|
||||
gap: a CommonMark image fits only as its own title-less paragraph; mid-text and titled images
|
||||
are error results. Converting back yields the library's canonical spelling, which round-trips
|
||||
byte-identically.
|
||||
- Foreign HTML maps a documented element set; an unmappable element is an error, never a silent
|
||||
drop. Well-formed HTML only — no tag-soup recovery.
|
||||
- The emitted formats are semver surface (AGENTS.md §8).
|
||||
|
||||
Reference in New Issue
Block a user