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

Custom Themes from the internet don't work. #213

Open niposch opened 1 year ago

niposch commented 1 year ago

Describe the bug I can't get the advanced slides plugin v1.20.0 to use custom themes. I managed to reproduce this issue on an empty vault (obsidian v1.1.16) using code similar to the example from the documentation on how to use themes from the internet, the theme isn't applied because the style tag has a leading slash in front of the URL of the theme's CSS file. Samples to Reproduce image image

Expected behaviour The theme's URL should be properly added to the HTML. Currently, it is preceded by a slash. This prevents the browser from properly loading the custom theme. Removing the prepended slash instructs the browser to properly load the theme. image