quarto-dev / quarto-dev/quarto

Allow to skip formatting code in specific cells

Open
#821 5 comments 2 reactions 1 assignee View on GitHub

@cscheid is already working on this.

Since Sep 20, 2025.

enhancement vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

See specifically https://github.com/quarto-dev/quarto-cli/discussions/13335#discussioncomment-14464956

Discussed in https://github.com/quarto-dev/quarto-cli/discussions/13335

Originally posted by hfrick September 5, 2025

Description

I'm preparing slides via quarto and generally use air to format my code. For some of the code cells, I'd like to skip the formatting. I can do that with air's # fmt: skip, but then it shows up on the resulting slide. Since these are workshop slides, I'd like to avoid this since it would probably be a distraction to learners. Is there a way to skip formatting specific cells without it showing on the slide? Would something like #| format: skip be possible?

I have seen https://github.com/quarto-dev/quarto-cli/discussions/12082 but I think it's related but different.

Contributor guide

No contributing guide indexed for this repository

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.