quarto-dev / quarto-dev/quarto-cli
fig-cap-location conflict with code annotation
Offen
Dieses Issue hat noch niemand übernommen.
bug
code-annotation
figures
lua
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6k
- Forks
- 458
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 41
Beschreibung
---
title: 'Title'
format: html
---
::: {#fig-learnxmp fig-cap-location="top"}
```xml
<context-info>
<url>file:/Volumes/.../1051-Learn.mp4</url> # <1>
```
1. Testing annotations.
Caption
:::
while without annotation
---
title: 'Title'
format: html
---
::: {#fig-learnxmp fig-cap-location="top"}
```xml
<context-info>
<url>file:/Volumes/.../1051-Learn.mp4</url>
```
Caption
:::
Same with Margin
Found while looking at https://forum.posit.co/t/code-annotations-after-caption-in-labeled-container-divs/183061
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Start by rendering the two minimal Markdown examples in the issue with Quarto, comparing the annotated and unannotated code blocks and the margin variant. Trace the rendering path for labeled container divs, figure caption placement, and code annotations; done means annotations no longer alter the requested caption location and the examples render consistently.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- markdown
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100