Open m-guggenmos opened 1 year ago
Good idea, will look into it. For the moment, I just use https://quarto.org/docs/authoring/conditional.html like
:::{.content-hidden when-format="revealjs"}
![My custom caption](image.svg){ .my-custom-class}
:::
:::{.content-visible when-format="revealjs"}
```yaml { .my-custom-class src="image.svg" }
setup: ...
For output formats other than revealjs, the yaml code block used to generate animated SVGs is displayed verbatim. It would be a nice addition if a code block of the form
could be transformed to
Or ideally even transforming something like
to