quarto-dev / quarto-dev/quarto-cli
Only first element in `pandoc.Figure` content is shown
Open
@cscheid is already working on this.
Since May 15, 2025.
bug
dark-mode
figures
lua
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
---
title: "Untitled"
format: html
filters:
- double-image.lua
---


double-image.lua
function Image(img)
return {img, img}
end
The inline images are duplicated, but the image with a caption (that ends up in a pandoc.Figure) is not:
cc @cscheid
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.