3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-21 15:42:58 +01:00

Refuse the pipe form where a link hides a pipe, and fall back to the directive form for every image CommonMark cannot spell

This commit is contained in:
2026-08-25 16:12:56 +02:00
parent 8993518ede
commit e1a5d08dea
14 changed files with 140 additions and 59 deletions
@@ -16,3 +16,11 @@ Taken from Kiruna.
:::mediaSingle {layout=center}
::media {alt="The assembly drawing" marks="[{\"attrs\":{\"href\":\"https://example.com/assembly\"},\"type\":\"link\"}]" type=external url="https://example.com/assembly.png"}
:::
:::mediaSingle {layout=center}
::media {alt="" type=external url="https://example.com/moon.png"}
:::
:::mediaSingle {layout=center}
::media {type=external url="https://example.com/plan.png?a=1&b=2"}
:::