quarto-dev / quarto-dev/quarto-cli
fig-cap-location conflict with code annotation
Đang mở
Chưa có ai nhận issue này.
bug
code-annotation
figures
lua
- Ngôn ngữ chính
- JavaScript
- Star
- 6k
- Fork
- 458
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 41
Mô tả
---
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- markdown
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100