ProgresSVG
An extension for Quarto@revealjs
Progressive SVG
This extension is intended for Quarto@revealjs, to progressively reveal (or hide) SVG objects.
- Create a SVG file (I created this using Inkscape)
- Give each object a name (like this)
- Adjust canvas size to fit your objects!! (like this)
To show the element axes from the example.svg file:
::: {.progressvg file="example.svg" element="axes"}
:::
To hide the element axes from the example.svg file:
::: {.progressvg file="example.svg" element="axes" action="hide"}
:::
Let’s try that code (show and then hide axes)
Now let’s show (and then hide) all elements