quarto-dev / quarto-dev/quarto-cli

Hide image display if not in front matter on grid display

Open
#1,213 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement listings
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?

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.