feature: fallback value for the env shortcode #8315
Closed
aronatkins
started this conversation in
Feature Requests
Replies: 1 comment
-
Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Description
The
env
shortcode does not allow a fallback value.In R, we might:
In Python, we might:
In simple Quarto documents (using the Markdown engine), we do not have either of these options. If the document were accompanied by a
_quarto.yml
file (and seen as a "project"), that document could use an_environment
file to provide default environment values. The_environment
file is only processed for projects, not standalone documents.Proposal: Extend the
env
shortcode to allow a fallback value.Beta Was this translation helpful? Give feedback.
All reactions