-
I'm working on a quarto book which I'd like to render as HTML and PDF. The automatically generated figures are either SVG or PDF files, depending on the output format. This is working fine. However, there is a problem when including other images via the command
As far as I understood, I need to work with "default-image-extension" in order to tell quarto to use different image formats for the different output formats as follows:
Now, I would like to insert an animated gif where I have prepared a screenshot in PDF format for the PDF output format. So, when calling
quarto should choose Is there a way of changing the default-image-extension for only one specific figure? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Conditional content and hardcoded its extension 🤔 |
Beta Was this translation helpful? Give feedback.
Conditional content and hardcoded its extension 🤔
See https://quarto.org/docs/authoring/conditional.html.