by Markos Narinian
Toggle CSS snippets from the command palette instead of going into Settings. Adds one command per snippet plus a quick picker, enable-all and disable-all.
↓ 68 downloadsUpdated 18d agoMIT
Snippet Master
Toggle Obsidian CSS snippets from the command palette — no more digging through Settings → Appearance.
Commands
| Command | What it does |
|---|---|
Toggle snippet… | Fuzzy picker over all snippets (✓ = enabled). Select one to toggle it. |
Toggle snippet: <name> | Dedicated command per snippet — assign a hotkey to the ones you flip often. |
Enable all snippets | Turn every snippet on. |
Disable all snippets | Turn every snippet off. |
Reload snippet list | Rescan .obsidian/snippets/ after adding or removing files. |
The per-snippet commands stay in sync automatically when snippet files are created, deleted, or renamed.
Installation
Via BRAT (recommended for now):
- Install the BRAT community plugin.
- In BRAT settings, choose Add Beta plugin and paste this repo's URL.
- Enable Snippet Master under Settings → Community plugins.
Manual:
- Download
manifest.jsonandmain.jsfrom the latest release (or build from source). - Copy them into
<vault>/.obsidian/plugins/snippet-toggles/. - Enable Snippet Master under Settings → Community plugins.
Usage
- Open the command palette (
Cmd/Ctrl + P). - Run
Snippet Master: Toggle snippet…and pick a snippet — or runToggle snippet: <name>directly. - Optional: go to Settings → Hotkeys and bind your most-used
Toggle snippet: <name>commands to hotkeys.
Development
npm install
npm run dev # watch build
npm run build # typecheck + production build
License
MIT
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.