quarto-dev / quarto-dev/quarto-cli

Track resources inside styles

Open
#7,470 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug html
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

This should work without requiring users to add images/image.jpg to resources:

---
title: "Title"
---

:::{style="background-image: url('images/image.jpg');"}

This is a Quarto website.

To learn more about Quarto websites visit <https://quarto.org/docs/websites>.


:::

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

The issue provides no file or test path. Reproduce the shown Quarto document and trace how resources referenced by style attributes are collected; done when the image works without listing images/image.jpg in resources and a regression test covers it.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.