mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-20 23:25:43 +01:00
Answer architecture round 4: a folded callout's title line is no paragraph, and item 56 names the bracket resolution's range
This commit is contained in:
+3
-2
@@ -217,8 +217,9 @@ reads as that image, with the link marking its `media`. Inside any other link, t
|
|||||||
text the link marks, and the image's URL and title drop: the panel chose this by Goal 6, which
|
text the link marks, and the image's URL and title drop: the panel chose this by Goal 6, which
|
||||||
outranks Goal 7.
|
outranks Goal 7.
|
||||||
|
|
||||||
In `portableMarkdownToAdf`, an alert's or callout's marker line stands apart from the lines after
|
In `portableMarkdownToAdf`, an alert's or unfolded callout's marker line stands apart from the lines
|
||||||
it, so an image alone on either reads as the image: a reader panel of the bot, the LLM pipeline and
|
after it, and so do those after a folded callout's title line, so an image alone on either reads as
|
||||||
|
the image: a reader panel of the bot, the LLM pipeline and
|
||||||
a support agent, 3 of 3 on 2026-10-09, expected the picture in every case, a ticked task included.
|
a support agent, 3 of 3 on 2026-10-09, expected the picture in every case, a ticked task included.
|
||||||
A task item holds no image in Atlassian's schema, so the paragraph a task marker opens reads its
|
A task item holds no image in Atlassian's schema, so the paragraph a task marker opens reads its
|
||||||
image as linked alt text, the fallback two of the three named.
|
image as linked alt text, the fallback two of the three named.
|
||||||
|
|||||||
+2
-2
@@ -323,8 +323,8 @@ directive form instead.
|
|||||||
`mediaInline` carries a media `collection` + `id`, never a URL, so anywhere else an image reads as
|
`mediaInline` carries a media `collection` + `id`, never a URL, so anywhere else an image reads as
|
||||||
its alt text linked to its destination, the link titled by the image's title: beside other
|
its alt text linked to its destination, the link titled by the image's title: beside other
|
||||||
content, in a heading, a table cell or an `!adf:paragraph`, and in the paragraph a portable task
|
content, in a heading, a table cell or an `!adf:paragraph`, and in the paragraph a portable task
|
||||||
marker opens. An alert's or callout's marker line stands apart from the lines after it, so an image
|
marker opens. An alert's or unfolded callout's marker line stands apart from the lines after it, and
|
||||||
alone on either reads as the image. An empty alt text reads as the destination, as an empty link text
|
so do those after a folded callout's title line, so an image alone on either reads as the image. An empty alt text reads as the destination, as an empty link text
|
||||||
does. Inside a link's text, the alt text is plain text the link marks, and the image's destination
|
does. Inside a link's text, the alt text is plain text the link marks, and the image's destination
|
||||||
and title drop (`docs/decisions.md` §An image reads as an image only alone in its paragraph).
|
and title drop (`docs/decisions.md` §An image reads as an image only alone in its paragraph).
|
||||||
|
|
||||||
|
|||||||
@@ -333,8 +333,8 @@ functions write `pending`, `pieces`, `deactivatedBefore` and `openingSpellableLi
|
|||||||
`takeFallback` (`emit/inline-line.ts`), which writes the record the next `lineSegments` pass reads;
|
`takeFallback` (`emit/inline-line.ts`), which writes the record the next `lineSegments` pass reads;
|
||||||
`writeUnpaired`, `markPairings` and `markHighlights` (`inline-content.ts`), whose order changes the
|
`writeUnpaired`, `markPairings` and `markHighlights` (`inline-content.ts`), whose order changes the
|
||||||
output; and `nestIn` (`portable/adf-to-portable-markdown.ts`), which pushes into its caller's array.
|
output; and `nestIn` (`portable/adf-to-portable-markdown.ts`), which pushes into its caller's array.
|
||||||
Once `Scan`'s pieces have owners, the bracket resolution, `closeBracket` through `altText`, can
|
Once `Scan`'s pieces have owners, the bracket resolution, `linkedAlt` through `altText` with
|
||||||
leave `inline-content.ts` (about 690 lines) for a module of its own.
|
`holdsLink`, can leave `inline-content.ts` (about 690 lines) for a module of its own.
|
||||||
|
|
||||||
### 76. State the files the package does not ship once, so the build, the lint ceiling and the coverage exclusions cannot drift apart.
|
### 76. State the files the package does not ship once, so the build, the lint ceiling and the coverage exclusions cannot drift apart.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user