Custom format not found in ignored subdir

Open
#13,436 2 comments 0 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Sep 26, 2025.

Assessment

This issue has not been assessed yet.

Description

bug extensions
Discussed in https://github.com/quarto-dev/quarto-cli/discussions/13426

Originally posted by andrewpbray September 25, 2025

Description

I use custom formats widely in a website and in general they render just fine with all of the extensions installed via quarto add at the root of the project. Today I tried ignoring one of the subdirectories and suddenly the enclosed qmds were not able to find the extension on render.

I've created a minimal reprex repo that demonstrates the issue:

https://github.com/andrewpbray/ignored-extension

which is just the boilerplate website with quarto add mcanouil/quarto-letter added as as well as _ignored/custom-doc.qmd, which uses format: letter-pdf. It renders fine if the file is named ignored/custom-doc.qmd but as is it throws:

ERROR: Unable to read the extension 'letter'.
Please ensure that you provided the correct id and that the extension is installed.

If you move the file to the root of the project it also renders fine.

Any idea what's up?

====

I'm running MacOS Sonoma with Quarto 1.7.32

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

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.

More from quarto-dev/quarto-cli

All issues in quarto-dev/quarto-cli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.