Skip to content

Only first element in pandoc.Figure content is shown #12737

@cwickham

Description

@cwickham
---
title: "Untitled"
format: html
filters:
  - double-image.lua
---

![](image.png)

![Caption](image.png)

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:

Image

cc @cscheid

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdark-modedark mode and switching between light and dark modesfiguresluaIssues related to the lua codebase, filter chain, etc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions