Allow to skip formatting code in specific cells #13335
Replies: 5 comments 10 replies
-
Formatters are currently handled on the IDE side with for instance the VSCode/Positron extension. Note that (minus the few known issues), you can format your code at cell level. The repository of the extension and where the integration with formatters is done is: https://github.com/quarto-dev/quarto |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I wonder how It could be a question to ask on https://github.com/posit-dev/air too |
Beta Was this translation helpful? Give feedback.
-
I wonder if we can move this to an issue to track, I would be very interested in a Quarto option that will operate across languages and both at the code cell and the document level. I have Quarto projects where I want air to work on save on all documents except for slides, for example (as slides require a lot more management of the limited screen real estate). |
Beta Was this translation helpful? Give feedback.
-
Now tracked at: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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 #12082 but I think it's related but different.
Beta Was this translation helpful? Give feedback.
All reactions