Skip to content

fig-alt attributes is not correctly processed on image for gfm output. #12456

@cderv

Description

@cderv

I think we are just not handling fig-alt (which is a quarto image attribute https://quarto.org/docs/authoring/figures.html#alt-text) for gfm format. 🤔

---
title: "Untitled"
format: gfm
---

![](surus.png){fig-alt='A placeholder image'}

gives

# Untitled


<img src="surus.png" data-fig-alt="A placeholder image" />

which seems unexpected to me

Originally posted by @cderv in #12443 (reply in thread)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingluaIssues related to the lua codebase, filter chain, etcmarkdownRelated to markdown-like output format

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions