Configuration
MD-Slides applies configuration in priority order — highest wins:
- CLI flags —
--theme dark - Project config —
.mdslides/config.jsoncommitted with your repo - Global config —
~/.mdslides/config.jsonfor personal preferences - Built-in defaults
Project config
Commit .mdslides/config.json to set defaults for everyone working on a deck:
{
"theme": "dark",
"outputDir": "dist"
}
Global config
~/.mdslides/config.json applies to all decks on your machine — useful for your personal theme preference:
{
"theme": "light"
}
Viewing active config
mdslides config
Prints the resolved configuration showing which value came from which source.