Skip to content

Is it possible to check multiple conditions for conditional rendering? #9295

Closed Answered by SamEdwardes
SamEdwardes asked this question in Q&A
Discussion options

You must be logged in to vote

from @mcanouil:

It's now possible to add several time the attribute:

#11303

This should now work:

::: {.content-hidden when-format="html" when-format="pdf"}

Should not appear in HTML or PDF.

:::

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@SamEdwardes
Comment options

@cderv
Comment options

@SamEdwardes
Comment options

@cderv
Comment options

@mcanouil
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by SamEdwardes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants