quarto-dev / quarto-dev/quarto-cli

pre- and post-render scripts for single-file renders

Open
#13,032 6 comments 4 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Jul 3, 2025.

enhancement project-scripts
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

We should support these somehow.

We need to decide where the configuration goes. pre-render scripts are project scripts and project configuration goes on _quarto.yml. Internally, we made it to that single-file renders have an ephemeral project associated with them, but this project has no configuration object.

We would have to allow project configuration to be specified in the .qmd file, but then YAML validation becomes tricky - .qmd files in regular projects would need to be validated differently from individual .qmd files.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.