quarto-dev / quarto-dev/quarto-cli

fig-cap-location conflict with code annotation

Đang mở
#9,155 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

:::

image

while without annotation

---
title: 'Title'
format: html
---

::: {#fig-learnxmp fig-cap-location="top"}
```xml
<context-info>
  <url>file:/Volumes/.../1051-Learn.mp4</url>           
```

Caption

:::

image

Same with Margin
image

image

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

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. 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

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.