quarto-dev / quarto-dev/quarto-cli
Hide image display if not in front matter on grid display
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
Hi! Thanks for making an awesome tool!!
When I use grid and I don't have an image, the image box comes up as gray. I know I can set a default image, but I don't want to do that. I'd like the grid card to just hide the image portion of the image isn't supplied.
This could be a good _index.qmd specification perhaps?

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
Start by tracing how grid cards handle missing images and review the proposed _index.qmd specification. Confirm the expected behavior for cards without a supplied image, then verify that the image portion is hidden rather than shown as a gray box while cards with images remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100