3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00

Answer prose round 1: 0 🔴, 8 🟡; split the image-in-link ruling out, place the (image) plainly, credit only the same-URL rule to the portable writer

This commit is contained in:
2026-10-23 03:39:36 +02:00
parent ad6a4da94e
commit 8e7da0dc8c
7 changed files with 34 additions and 32 deletions
+2 -2
View File
@@ -554,8 +554,8 @@ Serves [Goals](#goals) 1, 4 and 5.
blank line between it and any other line.
- A code span inside emphasis reads as code without the emphasis, since ADF gives code text no
mark but a link or an annotation: ``**`npm ci`**`` reads as `` `npm ci` ``.
- Inside a link, an image reads as plain text the link marks, and `(image)` follows the link,
linked to the image: `[look at ![the moon](moon.png) tonight](/moon)` reads as
- Inside a link, an image reads as plain text the link marks. After the link comes `(image)`,
which links to the image: `[look at ![the moon](moon.png) tonight](/moon)` reads as
`[look at the moon tonight](/moon) ([image](moon.png))`. A link to the image's own URL takes
no `(image)`, unless the image's title is one the link lacks. A link alone in its paragraph
whose whole text is one image reads as that image, with the link marking it.