marp-team / marp-vscode

Marp for VS Code: Create slide deck written in Marp Markdown on VS Code
https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode
MIT License
1.58k stars 75 forks source link

Cannot set custom theme css: The specified theme " " is not recognized by Marp for VS Code. marp-vscode(unknown theme) #403

Closed BRPolaris closed 1 year ago

BRPolaris commented 1 year ago

Hello.

I follow the guide to make my own custom theme css, but I failed. I follow all the steps of the guidance, make a settings.json and put it in the "/.vocode" of my workspace, then make the theme css and put it in the "/themes" of my workspace, but when I open a md and set the theme I made, it shows the alarm 'The specified theme " " is not recognized by Marp for VS Code. marp-vscode(unknown theme)'.

I don't know why and look forward to your help, Many thanks!

yhatt commented 1 year ago

We cannot guess what happening to you because of there are less informations Please share more context around at the Marp discussion forum to get answer. (e.g. the actual contents of Markdown, theme CSS, and .vscode/settings.json. The issue tracker in each Marp GitHub repositories are not designed to ask for support)

FYI the alert you've reported may be bringing by setting theme name as a white space " " in your Markdown. Instead, you have to specify the name of your custom theme xxxxx named by /* @theme xxxxxx */ comment.

---
marp: true
theme: " "
---