MSzturc / obsidian-advanced-slides

Create markdown-based reveal.js presentations in Obsidian
https://mszturc.github.io/obsidian-advanced-slides/
MIT License
948 stars 80 forks source link

Enable code (auto) animation #241

Open MarkStruik opened 1 year ago

MarkStruik commented 1 year ago

reveal.js supports code auto anitmation. would be great to be able to set the data-id to have this work :)

Is your feature request related to a problem? Please describe. would be nice to have a generic way of adding attributes to a codeblock like you can with the element selector

Describe the solution you'd like Generic way of adding an attribute to any element,

Describe alternatives you've considered A custom attribute for animating subsequent code blocks

Additional context https://revealjs.com/auto-animate/#example%3A-animating-between-code-blocks