Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Snippetor

ebullientebullient10k downloads

Create and tweak common snippets.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates26

Snippetor helps you create common CSS snippets with a few button clicks:

  • Custom tasks
  • more to come...

Complementary Plugins

  • My Snippets to view/toggle your snippets from the status bar
  • Task Collector to mark your tasks with a few keystrokes

Installing Snippetor

  1. Open Settings -> Community Plugins
  2. Disable safe mode
  3. Browse and search for "snippetor"
  4. Install the latest version of Snippetor
  5. "Enable" the plugin directly after installation

Preview with Beta Reviewers Auto-update Tester (BRAT)

  1. Install BRAT
    1. Open Settings -> Community Plugins
    2. Disable safe mode
    3. Browse, and search for "BRAT"
    4. Install the latest version of Obsidian 42 - BRAT
  2. Open BRAT settings (Settings -> Obsidian 42 - BRAT)
    1. Scroll to the Beta Plugin List section
    2. Add Beta Plugin
    3. Specify this repository: ebullient/obsidian-snippetor
  3. Enable the plugin (Settings -> Community Plugins)

Using the plugin

  1. Open Settings -> Snippetor
  2. Create a new snippet
    1. Choose the type of snippet you want to create:
      • "Custom Checkboxes" for create a custom checkbox snippet, or
      • "Colored folders" to create a snippet that customizes the display of folders in the navigation pane.
    2. Click +

This will open a modal dialog for editing settings associated with the snippet.

All modal dialogs have a field at the top for specifying the name of the generated snippet file. This name is automatically populated with a kebeb-case string. Feel free to replace it with something you like better.

To use the snippet you create:

  1. Generate (or update) the snippet by pressing the "magic wand" button:

    image
  2. Enable the Snippet

    • Settings -> Appearance, scroll down to the bottom and ensure the snippet is present and enabled
    • Use a plugin like MySnippets to list and toggle snippets.

Custom Checkboxes

The configuration for custom checkboxes are presented in the format of a task list. Each line begins with a preview of what the rendered task will look like, along with some sample text. The rest of the line has settings that will toggle the appearance of that item.

image

There is a lot going on here. It is literally a Wall of Toggles!

The top row has a few things going on:

image
  • The slider is used to adjust the roundness of corners for all checkboxes.
  • The palette allows you to toggle between color pickers and text controls for working with colors. For example, you can use the text field input to reference a CSS variable.
  • A moon-phase icon is next, and this allows toggling the entire panel between light mode and dark mode so you can see the impact your settings will have.
  • Finally, there is a reset button that is useful when you want to scrap changes and return to a previously saved state.

In the simple / single row view, each task has only a few values:

  • Some preview text, to show what the rendered checkbox and text will look like (with some amount of approximation).
  • An example of what the checkbox looks like in edit mode, along with a field to define a new task value (x is the default).
  • Two color pickers follow: one for the foreground, and one for the background. Each has three elements:
    • A color picker for selection OR a text-box for manual entry.
    • A small moon phase icon, which allows you to copy the color from the opposite (light/dark) mode. For example: if you start in dark mode, and choose a bright red for x, you can use the toggle in the top row to flip to light mode, and then use this small icon in the row to copy that bright red, and then adjust the color so that your task looks good in light mode, too.
  • There is a button to hide the checkbox border
  • And another to disallow mouse actions (keyboard would still work), to make it harder to accidentally change a value in reading mode.
  • There is an icon at the end of the row that will expand to show... even more settings!
  • And finally, we have a trashcan, so you can delete this snippet creator if you want.

Use the + and trashcan buttons to add and remove custom tasks from the list.

When your tasks are configured the way you want them (don't panic, your settings will be saved, you can tweak this any time you like), use the "magic wand" button next to the file name to create your snippet.

You're almost there! The only step left is to enable your snippet.

Open Settings -> Appearance, scroll down to CSS Snippets. If your snippet is not there, you may need to reload the list. Use the toggle to enable your snippet! Alternately, use the My Snippets plugin.

My tasks look weird!

Some themes do a lot of customization for task lists. If there is a conflict, ask in the #appearance channel in Discord, or raise an issue in this github repository, but please be specific about what themes and snippets you are using, and what exactly doesn't look right.

Acknowledgements

  • My Snippets -- Chetachi's plugin is an excellent source (and a complement to this)
  • Fantasy Calendar as a plugin with complicated modal settings
  • Style Settings for the color picker and dynamic style setting
71%
HealthExcellent
ReviewCaution
About
Create common CSS snippets with a few clicks. Generate and edit snippet files from guided modals—build custom checkboxes or colored folders, preview renders, and export ready-to-use snippets for Obsidian's Appearance system.
CSSSnippetsAppearance
Details
Current version
0.4.6
Last updated
3 months ago
Created
4 years ago
Updates
26 releases
Downloads
10k
Compatible with
Obsidian 1.9.0+
License
AGPL-3.0
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
ebullientebullient
github.com/ebullient
GitHubebullient
  1. Community
  2. Plugins
  3. CSS
  4. Snippetor

Related plugins

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Lapel

Show the heading levels in the gutter of the editor.

CSS Editor

Edit CSS snippet files.

Contextual Typography

Add a data-tag-name attribute to all top-level divs in preview mode containing the child's tag name, allowing contextual typography styling.

Focus Mode

Add a toggle to hide interface elements so you can focus on your note.

Color Palette

Create and insert color palettes into your notes.

Show Whitespace

CSS styles and CM6 extensions to highlight whitespace in Source and Live Preview modes.

Linkify

Convert matching text into links.

Canvas CSS class

Add a CSS class to the canvas, but also other attributes.

Hyphenation

Enable justified text and hyphenation.