How to include weblink in an animation shortcode? #2
-
Hi there @mcanouil Thanks for porting this extension into Quarto. I'm trying to animate a text which has a link in-words, for instance:
The animation works fine, but the output will lack the link. How should I pass a text with links without losing the link-generation.? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The following was added to README and example document. To note, animating clickable elements is not really something anyone should do. The following won't work: {{< animate bounce "[HTML](https://m.canouil.fr/quarto-animate/)" >}} But this will: [[HTML](https://m.canouil.fr/quarto-animate/)]{.animate__animated .animate__bounce style="display:inline-block;"} Or: ::: {.animate__animated .animate__bounce}
[HTML](https://m.canouil.fr/quarto-animate/)
::: See https://animate.style/ for more details. PS: no need to ping when creating issues/discussions/PRs. 😉 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. The option
Did work for me. Thanks also for the suggestions! |
Beta Was this translation helpful? Give feedback.
The following was added to README and example document.
To note, animating clickable elements is not really something anyone should do.
The following won't work:
But this will:
Or:
See https://animate.style/ for more details.
PS: no need to ping when creating issues/discussions/PRs. 😉