Check chunk options #2678
Closed
cbrnr
started this conversation in
Feature Requests
Replies: 2 comments 1 reply
-
Thanks for the report. Let me transform that to an issue to discuss how to improve this, as there is several possibility IMO. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This was completed in #2681 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Recently, it took me longer than I'd like to admit to find out why the following code chunk gets evaluated despite setting the corresponding option:
If you want to reproduce, copy this example to a file
test.qmd
and preview it withquarto preview test.qmd
.In fact, the cell is evaluated because I accidentally used a non-breaking space (U+00A0, ⌥Space on a Mac) instead of a normal space after the
#|
characters. I now turned on"editor.unicodeHighlight.includeComments": true
and"editor.unicodeHighlight.nonBasicASCII": true
in Visual Studio Code, which makes this obvious, but I thought that maybe Quarto could issue a warning (or info) when encountering unknown chunk options. Currently, I didn't find anything even after setting--log-level info
. WDYT?Beta Was this translation helpful? Give feedback.
All reactions