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 CSS doesn't work #257

Open schiessle opened 10 months ago

schiessle commented 10 months ago

Describe the bug

I tried to create my custom theme and put it into the `obsidian-advanced-slides/css' folder as described in the documentation.

First I loaded the shipped theme mattropolis.css which works as expected:

Loading the shipped theme works:

---
theme: css/mattropolis.css
---

grafik

Than I tried to load my theme (which is just a copy of mattropolis.css to avoid errors in the css file)

---
theme: css/my-theme.css
---

image

as you can see there seems to be a issue with loading the css file because of a "mimetype mismatch".

The screenshots are from my browser but I have the same issue with the preview in Obsidian.

mlongano commented 5 months ago

I have the same problem with my custom themes for the slides that used to work in the past