include
child documents with params
.
#8735
Replies: 3 comments 2 replies
-
We're not going to implement something like this anytime soon. I understand why that is desirable, but it mixes together separate phases of Quarto's compilation pipeline in a way that we do not intend to. Include shortcodes will remain textual for the foreseeable future. |
Beta Was this translation helpful? Give feedback.
-
This has already been discussed in several other places such as: |
Beta Was this translation helpful? Give feedback.
-
This would be a great addition for my use-cases. For example, when I create a Quarto Dashboard, it is nice to separate different screens/views into different partials which I then include using the |
Beta Was this translation helpful? Give feedback.
-
Description
I would appreciate a way to include parametrized child documents, something like this:
_child.qmd:
main.qmd:
I'm not sure why I used js notation to pass the params' values, it just felt right. This is a silly example, but I've found a lot of use cases for this. For instance, a quarto dashboard about water quality where each tab is the same child document just passing a different pollutant as params.
Thank you for this amazing tool!
Beta Was this translation helpful? Give feedback.
All reactions