~ jim - Publishing content in Quarto using conditionals and if/else code flow #7
Replies: 1 comment
-
|
Hey Jim, nice article! You might have found another workaround to make Where File: ---
include:
this: true
---
This is the main markdown, and I want to include other files conditionally.
::: {.content-visible when-meta="include.this"}
{{< include this.qmd >}}
:::
File: This is the file I included.I often use this in my writing, you can see it in action: https://github.com/namakala/medication-trend/blob/6a66b4aaf2857852c377e5925871eeaa7ecdc03f/docs/index.qmd#L9-L11 |
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.
-
~ jim - Publishing content in Quarto using conditionals and if/else code flow
A selection of simple methods using the knitr engine and HTML output
https://jimgar.github.io/posts/quarto-code-conditionals/post.html
Beta Was this translation helpful? Give feedback.
All reactions