marp-vscode icon indicating copy to clipboard operation
marp-vscode copied to clipboard

CSS theme files matching does not support wildcards

Open Daucloud opened this issue 10 months ago • 1 comments

I want to use several custom themes, and I found that I couldn't use wildcards like "./examples/*.css", but "./examples/test.css" would work. Usually the settings.jsonsupports the wildcards. Is this some questionmarkdown.marp.themes` have itself?

Daucloud avatar Apr 22 '24 05:04 Daucloud

The marp.markdown.themes setting in Marp for VS Code has exactly compatible rule with markdown.styles setting for VS Code's Markdown preview.

markdown.styles does not support glob pattern such as ./example/*.css, so marp.markdown.themes does not support it too. There are no plans to support globs in Marp as long as VS Code does not.

yhatt avatar Apr 22 '24 09:04 yhatt