mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-21 15:42:58 +01:00
Answer product-owner round 1: 0 🔴, 1 🟡; write no (image) after a link to the image itself
This commit is contained in:
+4
-2
@@ -13,8 +13,10 @@
|
||||
around only code spans is `unsupported-node-shape`. `adfToLosslessMarkdown` writes code text
|
||||
holding another mark as `!adf:carry{json="…"}`, and `adfToPortableMarkdown` drops that mark.
|
||||
- Every reader keeps the URL and title of an image inside a link's text, where it dropped them:
|
||||
`(image)` follows the link, linked to the image, so `[look at  tonight](/moon)`
|
||||
reads as `[look at the moon tonight](/moon) ([image](moon.png "Full"))`.
|
||||
`(image)` follows the link, linked to the image, so
|
||||
`[look at  tonight](/moon)` reads as
|
||||
`[look at the moon tonight](/moon) ([image](moon.png "Full"))`. A link to the image's own URL
|
||||
takes no `(image)`, unless the image's title is one the link lacks.
|
||||
- `adfToPortableMarkdown` keeps both targets of a linked external image standing inline, as in a
|
||||
table cell: `[alt](href) ([image](url))`, where it wrote `[alt](url)` and dropped the link's target.
|
||||
- `adfToPortableMarkdown` keeps a link title holding a backslash or an entity reference such as
|
||||
|
||||
Reference in New Issue
Block a user