How do you detect the output format from the jupyter engine? #8456
-
DescriptionWith the knitr engine, it is very helpful to be able to check the output format and conditionally adjust the display of some cells based on that. e.g. Is there a way to get that info when running with the jupyter engine? I've read about Conditional Content, but it seems from the docs that is only applicable to text or non-executable code blocks. If there was a comparable, easy way to base |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is still a feature to implement and track in there: To be clear, it works with knitr engine in Quarto because we inherits any knitr behavior, and knitr knows about Pandoc. So the information is passed. For Jupyter engine, we need to add a mechanism to pass the information. |
Beta Was this translation helpful? Give feedback.
This is still a feature to implement and track in there:
To be clear, it works with knitr engine in Quarto because we inherits any knitr behavior, and knitr knows about Pandoc. So the information is passed.
For Jupyter engine, we need to add a mechanism to pass the information.