Skip to content
Discussion options

You must be logged in to vote

Thanks for the suggestion. kLangCommentChars so that quarto knows how to extract "comment-pipe" yaml blocks from code cells. As you have noticed, knitr does its own detection of comment-pipe blocks, and so in the knitr engine, this works.

However, if you want IDE support for autocompletion and validation of those cells, quarto needs to know the correct language.

We choose not to use #| as a default because we don't want people to get in the habit of writing invalid source code in code cells (that would mean that, for example, our jupyter cell conversion would get more complicated.)

So, the best course of action is for folks to submit PRs with the comment syntax for their languages.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@eitsupi
Comment options

@cscheid
Comment options

@eitsupi
Comment options

@eitsupi
Comment options

@eitsupi
Comment options

Answer selected by cscheid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants