Are paired shortcodes supported in Quarto? #10855
Answered
by
cscheid
sidneygijzen
asked this question in
Q&A
-
hi, I've been reading the shortcodes docs page, but unfortunately couldn't find if paired (combined with nested) shortcodes are supported by Quarto. I'm looking for something similar to what's possible in Hugo. In my use-case, which is a website with a custom design, I would like to do something like: {{< section-image-bg image="path/to/img" >}}
## a header
The content for this section
{{< button-primary label="the button text" >}}
{{< /section-image-bg >}} In other words: is it possible to use a Quarto shortcode as a paired shortcode? |
Beta Was this translation helpful? Give feedback.
Answered by
cscheid
Sep 23, 2024
Replies: 1 comment 2 replies
-
No - Quarto uses divs, spans and Lua filters instead. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
sidneygijzen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No - Quarto uses divs, spans and Lua filters instead.