3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 06:35:44 +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
+1
View File
@@ -30,6 +30,7 @@ In `docs/decisions.md`:
- An image reads as an image only alone in its paragraph, else as its alt text linked; a link text of hard breaks alone reads as its destination, then the breaks
- A mark skips a node that cannot hold it, and a directive mark wrapping only such nodes is refused, as is a `[text](url)` link unless its text is hard breaks alone
- A linked image is written `[![alt](url)](href)`, a captioned image as its directive
- A linked image standing inline in portable markdown is written `[alt](href) ([image](url))`
- Ids stay site-local
- Portable task ids come from position
- A block a task item cannot hold stands after its task list