Skip to content

communicate format output to all engines  #2216

Open
@cscheid

Description

@cscheid

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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions