Snippet Commands

by death_au
5
4
3
2
1
Score: 16/100

Description

Category: Customization & UI

The Snippet Commands plugin for Obsidian enhances workflow customization by turning CSS snippets into accessible commands. Users can trigger these snippets via the command palette or assign them to hotkeys for quicker access. It also provides a feature to reload snippets dynamically if they change during an Obsidian session. Designed to leverage Obsidian's native snippet functionality, this plugin simplifies applying aesthetic or functional adjustments to the workspace without manually navigating settings. Ideal for users looking to streamline and personalize their Obsidian experience.

Reviews

  • B Caesar
    Reviewed on Mar 22nd, 2026
    No review text provided.

Stats

36
stars
7,708
downloads
1
forks
1,668
days
768
days
1,671
days
1
total PRs
1
open PRs
0
closed PRs
0
merged PRs
2
total issues
2
open issues
0
closed issues
0
commits

Latest Version

5 years ago

Changelog

  • Removed an extra log as per review

README file from

Github

Snippet Commands Obsidian Plugin

GitHub release (latest SemVer) GitHub All Releases

A plugin for Obsidian to add all your CSS snippets as commands, accessible from the command pallette and even assignable to hotkeys!

Important: If your snippets change while Obsidian is running, there is also a command to "Reload all snippet commands"

Compatibility

Compatible with Obsidian v0.9.18+ (when the CSS snippets were introduced).

Notes

This is all very experimental at the moment, so parts might not work, etc.

Installation

From within Obsidian

From Obsidian v0.9.8, you can activate this plugin within Obsidian by doing the following:

  • Open Settings > Third-party plugin
  • Make sure Safe mode is off
  • Click Browse community plugins
  • Search for this plugin
  • Click Install
  • Once installed, close the community plugins window and activate the newly installed plugin
Updates

You can follow the same procedure to update the plugin

From GitHub

  • Download the Latest Release from the Releases section of the GitHub Repository
  • Extract the plugin folder from the zip to your vault's plugins folder: <vault>/.obsidian/plugins/
    Note: On some machines the .obsidian folder may be hidden. On MacOS you should be able to press Command+Shift+Dot to show the folder in Finder.
  • Reload Obsidian
  • If prompted about Safe Mode, you can disable safe mode and enable the plugin. Otherwise head to Settings, third-party plugins, make sure safe mode is off and enable the plugin from there.

Security

Third-party plugins can access files on your computer, connect to the internet, and even install additional programs.

The source code of this plugin is available on GitHub for you to audit yourself, but installing plugins into Obsidian is currently a matter of trust.

I can assure you here that I do nothing to collect your data, send information to the internet or otherwise do anything nefarious with your system. However, be aware that I could, and you only have my word that I don't.

Development

This project uses Typescript to provide type checking and documentation.
The repo depends on the latest plugin API in Typescript Definition format, which contains TSDoc comments describing what it does.

If you want to contribute to development and/or just customize it with your own tweaks, you can do the following:

  • Clone this repo.
  • npm i or yarn to install dependencies
  • npm run build to compile.
  • Copy manifest.json, main.js and styles.css to a subfolder of your plugins folder (e.g, <vault>/.obsidian/plugins/<plugin-name>/)
  • Reload obsidian to see changes

Alternately, you can clone the repo directly into your plugins folder and once dependencies are installed use npm run dev to start compilation in watch mode.
You may have to reload obsidian (ctrl+R) to see changes.

Pricing

Huh? This is an open-source plugin I made for fun. It's completely free. However, if you absolutely have to send me money because you like it that much, feel free to throw some coins in my hat via the following:

GitHub Sponsors Paypal

Version History

0.0.1

Initial Release

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Auto Class
4 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
Auto Math
2 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
Canvas CSS class
3 years ago by Lisandra-dev
A plugin that will add a css class to your canvas & adding to each canvas the path to help personnalization
Cliplet
6 months ago by namikaze-40p
An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.
CSS Editor
3 years ago by Zachatoo
Edit CSS snippets in Obsidian.
CSS Inlay Colors
2 years ago by Benji Grant
Show inline color hints for CSS colors in Obsidian
CSS Inserter
2 years ago by Erika Gozar
Inserts user-defined css snippets into the selected text.
css snippets
5 years ago by Daniel Brandenburg
Obsidian plugin for css snippets
Custom Theme Studio
7 months ago by @gapmiss
An Obsidian.md plugin to create and tweak custom themes with live CSS editing, element styling, and instant previews. All without leaving Obsidian.
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
Hyphenation
3 years ago by 7596ff
Enables justified text and hyphenation
Inline Code Copy
a year ago by Hongchen Lin
Jelly Snippets
3 years ago by Spencer Gouw
A simple text snippets plugin for Obsidian.md. BACKUP SNIPPETS BEFORE UPDATING.
MySnippets
5 years ago by Chetachi
MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.
Pieces for Developers
3 years ago by Pieces For Developers
Pieces' powerful extension for Obsidian-MD that allows users to access their code snippets directly within the Obsidian workspace
Regex Mark
2 years ago by Mara-Li
Slash snippets
10 months ago by echo-saurav
Insert snippet of text with slash command
Snippetor
4 years ago by ebullient
An assist for creating CSS snippets for Obsidian
Snippets
5 years ago by Pelao
Snippets Manager
2 years ago by Venkatraman Dhamodaran
Snippets Manager (Text Expander) For Obsidian
Snippetsaurus
a year ago by Christian Humbert
Style Text
3 years ago by Juanjo Arranz
Apply custom CSS styles to selected text in your Obsidian Notes
Text Snippets
5 years ago by Ariana Khitrova
Snippets plugin for obsidian
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.