mirror of
https://github.com/samuele-cozzi/obsidian-marp-slides.git
synced 2026-07-22 07:40:25 +00:00
809 B
809 B
| title | parent |
|---|---|
| Slides Custom Themes | Features |
Use custom theme CSS
You can register and use custom theme CSS for Marpit / Marp Core by setting ThemePath, that includes relative paths to local files in the current vault.
The registered theme can use by specifying theme name in theme global directive.
Theme.css:
/* @theme your-theme */
@import 'default';
section {
background: #fc9;
}
Slides.md:
---
theme: your-theme
---
# Use your own theme
---
# Second Slide
Markdown preview will reload updated theme CSS automatically when you edited the registered local CSS file.
