quarto-dev / quarto-dev/quarto-cli
Subfigure caption indicator at the top left corner
Open
Nobody has claimed this yet.
crossref
enhancement
figures
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Related issue: https://github.com/quarto-dev/quarto-cli/issues/90
Thanks for all the fabulous work.
Would be possible to allow users to place the subfigure caption indicator at the top left corner of the image and keep the figure caption at the bottom?
For example,
---
fig-sub-cap-location: top
fig-sub-cap-merge: true
---
::: {#fig-elephants layout-ncol="2"}
{#fig-surus}
{#fig-hanno}
Famous Elephants
:::
would give

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.
Research direction
Reproduce the supplied front-matter and figure example in the Quarto CLI, then trace the existing subfigure-caption rendering path. Done means the subfigure indicator appears at the top left while the merged figure caption remains at the bottom.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, yaml
- Domain
- cli, content
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100