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
envshortcode 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.ymlfile (and seen as a "project"), that document could use an_environmentfile to provide default environment values. The_environmentfile is only processed for projects, not standalone documents.Proposal: Extend the
envshortcode to allow a fallback value.Beta Was this translation helpful? Give feedback.
All reactions