samuele-cozzi / obsidian-marp-slides

Create markdown-based Marp presentations in Obsidian
MIT License
80 stars 6 forks source link

Mac OS customer theme don't work #76

Closed cmi1993 closed 8 months ago

cmi1993 commented 1 year ago

how to config the theme path in obsidian Marp plugins? I use both relative and absolute path ,but do not work either?

ishy-k commented 8 months ago

Same here. It is reproducible for me on MacOS. I tried the following:

Nothing seems to work. Can I provide any help regarding fixing this?

samuele-cozzi commented 8 months ago

Thank you very much for your interest in the project. I've finally managed to run Mac OS Catalina on Ubuntu using QEMU.

My custom themes work with the following configuration. I have created a folder in the vault where I will put all my custom themes:

Screenshot from 2023-12-16 17-19-01

Then I have write in theme path configuration "templates/themes" folder:

Screenshot from 2023-12-16 17-20-25

Let me know if it works also in a original MacOS

fylimas commented 5 months ago

I have also run into this problem. Finally, I figured why in another reason.

Please ensure that your theme.css start at its first line as: /* @theme theme */ And the theme name should also the same with the file name.