Open
Description
Via Max Kuhn:
Does quarto have built-in environmental variables (or similar) during qmd compilation that reflects the output type? Similar to knitr::is_html_output() but cross-language and more specific about the output type?
I’m trying to write single qmd files for books that get compiled in different formats. Any tools (e.g. chunk options etc) that make that easier would be fantastic.