Replies: 3 comments 2 replies
-
|
I don't think we handle several format to be passed. We have added Which cases are you trying to cover ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
docx & PDF both
NLC
Christophe Dervieux ***@***.***> schrieb am Mo., 3. Okt.
2022, 09:01:
… I don't think we handle several format to be passed. We have added
content-hidden and content-visible, with both unless-format and
when-format to target different scenario.
Also we have added alias keyword to match several formats at once:
https://quarto.org/docs/authoring/conditional.html#format-matching
Which cases are you trying to cover ?
We may need to add alias or indeed try to make the feature works with
several formats.
—
Reply to this email directly, view it on GitHub
<#2704 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHBHY2YWBL5QMC6MERN6D3WBLRKVANCNFSM6AAAAAAQ3DDKRI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I had considered that, but didn't try
I did try making a lua array
when-format= {"docx","pdf"}
But that didn't work
NLC
Christophe Dervieux ***@***.***> schrieb am Mo., 3. Okt.
2022, 16:32:
… Thanks @cscheid <https://github.com/cscheid> for chiming in ! that was
the thing I wanted to check next.
—
Reply to this email directly, view it on GitHub
<#2704 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHBHYZCGAGDQUH6RK7WDZ3WBM7GRANCNFSM6AAAAAAQ3DDKRI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
-
It's not clear from the docs how to apply multiple formats to conditional content
https://quarto.org/docs/authoring/conditional.html
I don't know enough lua to know how to format multiple formats (list? array?)
https://github.com/quarto-dev/quarto-cli/blob/346d80e55abc83e0a5b87e93a17730eac5656a92/src/resources/filters/quarto-pre/content-hidden.lua
Beta Was this translation helpful? Give feedback.
All reactions