3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +01:00

Keep both targets of a linked external image standing inline in adfToPortableMarkdown

This commit is contained in:
2026-10-14 22:17:59 +02:00
parent 251c8193e6
commit 4298de84e8
7 changed files with 30 additions and 11 deletions
+10
View File
@@ -283,6 +283,16 @@ each reader expected before seeing the options. A captioned image keeps the `!ad
directive: each reader read `![alt](url "title")` as hover text, not a caption. Every reader still
reads that title as the caption; `todo.md` item 100 puts that reading back to a reader panel.
## A linked image standing inline in portable markdown is written `[alt](href) ([image](url))`
2026-10-14, a reader panel of the export tool, the LLM pipeline and a support agent, 3 of 3. Goals 6
and 7. Valid while the portable reader reads an image inside a link as the link's text.
Where `adfToPortableMarkdown` writes an external image inline, as in a table cell, a link marking it
keeps its target and the image follows as a link reading `image`. Every reader first wrote
`[![alt](url)](href)`, which reads back as `[alt](href)` and so breaks the byte-for-byte rewrite.
Each then picked this over `[alt](url)` and `[alt](href)`, which drop a target.
## Ids stay site-local
2026-08-23, the maintainer. Goal 1. Valid while ADF ids are minted per site.