Skip to content

Allow to skip formatting code in specific cells #821

@cscheid

Description

@cscheid

See specifically quarto-dev/quarto-cli#13335 (comment)

Discussed in quarto-dev/quarto-cli#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 quarto-dev/quarto-cli#12082 but I think it's related but different.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions