obsidian-advanced-slides
obsidian-advanced-slides copied to clipboard
Include custom javascript or custom revealjs plugins
Is your feature request related to a problem? Please describe.
I wanted to add some interactivity to my slides, so I tried including a <script></script> tag but that didn't seem to get picked up. I also found no way (aside from directly modifying the advanced slides plugin) to include a custom javascript file.
Describe the solution you'd like Maybe an additional "scripts" config in frontmatter, just like "css", to include custom javascript files. Or some other way to load a revealjs plugin.
Describe alternatives you've considered
I can do <img src onerror="alert('hi')"> and inject a new script tag into the head like this, but that's a pretty extreme hack.
I'm mostly curious whether I overlooked any other options. I don't mind having a go at a Pull Request if someone can give me some pointers on how we can implement this properly.
The possibility of adding script files is something i am missing too. This will be subject of the next major release.