You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
div syntax for content that is included for only certain formats #646
Yup. Once we have the "xml component syntax", this is pretty straightforward for me to implement. We'll get it together with the include functionality.
This is now supported with .content-hidden, .content-visible, when-format and unless-format. Examples:
::: {.content-hidden when-format="pdf"}
This will not appear in a PDF
:::
::: {.content-visible unless-format="docx"}
This will not appear in word output
:::
::: {.content-hidden unless-format="html"}
This will only be visible in HTML output
:::
Activity
cscheid commentedon Apr 15, 2022
Yup. Once we have the "xml component syntax", this is pretty straightforward for me to implement. We'll get it together with the include functionality.
cderv commentedon Apr 20, 2022
For reference, some discussion about this kind of feature in #373 I believe
cscheid commentedon May 2, 2022
This is now supported with
.content-hidden,.content-visible,when-formatandunless-format. Examples:cderv commentedon May 3, 2022
Awesome ! Thanks!