Snippetor

by ebullient
5
4
3
2
1
Score: 63/100

Description

Category: Customization & UI

The Snippetor plugin allows Obsidian users to create and customize CSS snippets with ease. It simplifies the process of designing visual elements like custom checkboxes and colored folders, enabling users to personalize their note-taking experience. The plugin offers an intuitive interface where users can adjust snippet settings using toggles, sliders, and color pickers. Users can specify snippet names, preview changes in light or dark mode, and create snippets that adapt to different themes. Custom checkboxes allow for unique task list designs, and users can customize colors, shapes, and interactivity of checkboxes. Snippetor also integrates with other plugins like 'My Snippets' for efficient snippet management. This tool is ideal for users looking to add a personalized touch to their Obsidian environment without needing advanced CSS knowledge.

Reviews

No reviews yet.

Stats

129
stars
10,346
downloads
5
forks
1,568
days
5
days
78
days
414
total PRs
5
open PRs
169
closed PRs
240
merged PRs
18
total issues
4
open issues
14
closed issues
106
commits

Latest Version

3 months ago

Changelog

0.4.6

20 February 2026

Fixes:

  • ⬆️ fix eslint. Resolves #277

Commits:

  • ⬆️ dependency bump 30bf3ca
  • ⬆️ dependency bump e84e5a9
  • ⬆️ dependency updates 44afff9
  • Bump jest from 30.0.5 to 30.1.3 5d55562
  • ⬆️ override glob, minimatch 54f6322
  • Bump jest from 30.0.2 to 30.0.4 9d8d631
  • ⬆️ Update obsidian version 4dde6f8
  • ⬆️ dependency update 4b9c287
  • Bump esbuild-sass-plugin from 3.3.1 to 3.6.0 ac586a5
  • Bump eta from 2.2.0 to 3.5.0 2d4601a
  • Bump esbuild from 0.27.0 to 0.27.2 681f844
  • Bump esbuild from 0.25.5 to 0.25.8 718a7e1
  • Bump esbuild from 0.25.12 to 0.27.0 56cc4ed
  • Bump esbuild from 0.25.9 to 0.25.11 79aa151
  • Bump esbuild from 0.25.9 to 0.25.11 8a0b5c9
  • Bump esbuild from 0.25.8 to 0.25.9 34f7abe
  • Bump jest-environment-jsdom from 30.0.5 to 30.1.2 da29fc6
  • ⬆️ dependency bump 5a6dc31
  • Bump @biomejs/biome from 2.3.10 to 2.3.11 2865b10
  • Bump @biomejs/biome from 2.3.8 to 2.3.10 760a5ae
  • Bump @biomejs/biome from 2.3.6 to 2.3.8 d84d245
  • Bump @biomejs/biome from 2.3.3 to 2.3.5 98ecf7c
  • Bump @biomejs/biome from 2.3.3 to 2.3.5 9622548
  • Bump @biomejs/biome from 2.2.4 to 2.2.6 89217b4
  • Bump @biomejs/biome from 2.2.4 to 2.2.6 805ab57
  • Bump @biomejs/biome from 2.2.3 to 2.2.4 5985efd
  • Bump @biomejs/biome from 2.2.0 to 2.2.3 08d94bf
  • Bump @biomejs/biome from 2.1.4 to 2.2.0 bf0155e
  • Bump @biomejs/biome from 2.1.3 to 2.1.4 80ba813
  • Bump @biomejs/biome from 2.1.2 to 2.1.3 bbe315d
  • Bump @biomejs/biome from 2.0.5 to 2.1.2 d347b9f
  • Bump typescript from 5.9.2 to 5.9.3 cd6db47
  • ⬆️ peer dependencies 4b10a75
  • Bump typescript from 5.9.2 to 5.9.3 bcf3f99
  • ⬆️ peer dependencies 7975ea2
  • ⬆️ dependency bump 779dea2
  • Bump @types/node from 24.7.2 to 24.8.1 2bc19e3
  • Bump eta from 3.5.0 to 4.0.1 054655c
  • 📌 pin dependencies; apply cooldown f507d41
  • Bump @types/node from 25.0.3 to 25.0.9 5bfb9e3
  • Bump obsidian from 1.11.0 to 1.11.4 7f7895a
  • Bump @types/node from 24.10.4 to 25.0.3 a520911
  • Bump @types/node from 24.10.0 to 24.10.1 433c9e5
  • Bump @types/chroma-js from 3.1.1 to 3.1.2 b5626a0
  • ⬆️ Update eta 6c648f8
  • Bump @types/node from 24.7.2 to 24.8.1 b92f982
  • Bump @types/node from 24.3.1 to 24.3.3 30a7c11
  • Bump dotenv from 17.2.1 to 17.2.2 0b19e22
  • Bump @types/node from 24.2.0 to 24.2.1 c1c3e0b
  • Bump typescript from 5.8.3 to 5.9.2 09a925f
  • Bump @types/node from 24.0.3 to 24.0.15 bcafee9
  • Bump dotenv from 16.5.0 to 17.2.0 c666a2c
  • Bump @types/node from 24.0.3 to 24.0.15 d083afb
  • Bump glob from 10.4.5 to 10.5.0 c1336d6
  • Bump js-yaml from 3.14.1 to 3.14.2 5d9c01c
  • Bump actions/setup-node from 6.1.0 to 6.2.0 939d9de
  • Bump actions/checkout from 6.0.1 to 6.0.2 fe886b1
  • Bump actions/checkout from 5.0.0 to 6.0.1 c832f34
  • Bump actions/setup-node from 6.0.0 to 6.1.0 6095e9e
  • Bump actions/setup-node from 5.0.0 to 6.0.0 1488af2
  • 📌 Update minimum obsidian version b75d4d4
  • Bump actions/setup-node from 4 to 5 91263cd
  • Bump actions/checkout from 4 to 5 d98c4b0
  • Bump @types/node from 24.1.0 to 24.2.0 7959d43
  • Bump ts-jest from 29.4.0 to 29.4.1 26ff095
  • 🎨 settings icon 7fc5df3
  • Bump @types/node from 24.0.3 to 24.0.15 c92284d
  • Bump eta from 2.2.0 to 3.5.0 f9a3ce3
  • ⬆️ 👷 ♻️ prettier/eslint -> biome 2464b5c
  • Bump jest from 30.0.2 to 30.0.4 da83001
  • Bump dotenv from 16.5.0 to 17.2.0 4d4e141
  • Bump eta from 2.2.0 to 3.5.0 3070c72
  • Bump jest and @types/jest b4c7337
  • Bump jest-environment-jsdom from 29.7.0 to 30.0.0 eb51c59
  • Bump builtin-modules from 3.3.0 to 4.0.0 d98e29e
  • ⬆️ bump dependencies 1c1da64
  • Bump @eslint/js from 9.13.0 to 9.14.0 688d162
  • Bump eta from 2.2.0 to 3.5.0 5372b41
  • Bump eta from 2.2.0 to 3.5.0 00b7b83
  • Bump @typescript-eslint/eslint-plugin from 8.8.0 to 8.8.1 2d878ac
  • Bump esbuild from 0.24.0 to 0.24.2 293a2b3
  • Bump esbuild from 0.24.2 to 0.25.0 50978c3
  • Bump jest-environment-jsdom from 30.0.0 to 30.0.2 dea9bf6
  • Bump esbuild from 0.25.3 to 0.25.5 20ad9b4
  • Bump esbuild from 0.25.2 to 0.25.3 75debd4
  • Bump esbuild from 0.25.1 to 0.25.2 76a1a35
  • Bump esbuild from 0.25.0 to 0.25.1 e442753
  • Bump esbuild from 0.23.1 to 0.24.0 9bd28d4
  • Bump @biomejs/biome from 1.9.4 to 2.0.5 668f54b
  • Bump @typescript-eslint/eslint-plugin from 8.5.0 to 8.8.0 a891cf4
  • Bump @typescript-eslint/eslint-plugin from 8.2.0 to 8.5.0 6694a5b
  • Bump @typescript-eslint/eslint-plugin from 8.8.1 to 8.9.0 7d3639a
  • Bump eslint from 9.13.0 to 9.14.0 f93140f
  • Bump @typescript-eslint/parser from 8.3.0 to 8.8.0 0d263a3
  • Bump ts-jest from 29.3.2 to 29.4.0 3e6a3ff
  • Bump ts-jest from 29.2.6 to 29.3.1 cefa398
  • 🩹 Fix issue template 4972621
  • Bump @types/node from 22.15.3 to 24.0.3 5f2d3a8
  • Bump ts-jest from 29.3.1 to 29.3.2 8f3d3da
  • Bump @types/node from 22.13.17 to 22.14.0 0d4963f
  • 🩹 biome upgrade 7f61a69
  • Bump @types/chroma-js from 3.1.0 to 3.1.1 4a8499d
  • Bump @types/chroma-js from 2.4.4 to 2.4.5 681384f
  • Bump tslib from 2.8.0 to 2.8.1 ab12c96
  • Bump tslib from 2.6.3 to 2.7.0 ad802c1
  • Bump @types/node from 22.7.5 to 22.8.1 113d72f
  • Bump @types/node from 22.10.6 to 22.10.7 e0423a0
  • Bump @types/node from 22.10.1 to 22.10.2 5aa5274
  • Bump typescript from 5.6.3 to 5.7.2 1b8fcc5
  • Bump eta from 2.2.0 to 3.5.0 957d059
  • Bump @types/node from 22.7.4 to 22.7.5 87c7270
  • Bump typescript from 5.6.2 to 5.6.3 53b0777
  • Bump obsidian from 1.6.6 to 1.7.2 cdb5889
  • Bump typescript from 5.5.4 to 5.6.2 84bd94b
  • Bump @types/node from 22.14.0 to 22.15.3 dcf1117
  • Bump dotenv from 16.4.7 to 16.5.0 f423471
  • Bump typescript from 5.8.2 to 5.8.3 a1e15ff
  • Bump @types/node from 22.13.10 to 22.13.14 14cd0e0
  • Bump @types/node from 22.13.5 to 22.13.10 4475d7f
  • Bump builtin-modules from 4.0.0 to 5.0.0 aa3e2c4
  • Bump typescript from 5.7.3 to 5.8.2 b455865
  • Bump @types/node from 22.13.4 to 22.13.5 304cece
  • Bump obsidian from 1.7.2 to 1.8.7 9fb3657
  • Bump @types/node from 22.13.1 to 22.13.4 e4f0aac
  • Bump @types/node from 22.13.0 to 22.13.1 de7d269
  • Bump @types/node from 22.10.7 to 22.13.0 f3a1dd6
  • Bump @types/node from 22.10.5 to 22.10.6 3649ab0
  • Bump typescript from 5.7.2 to 5.7.3 329429f
  • Bump @types/chroma-js from 2.4.5 to 3.1.0 d351c76
  • Bump @types/node from 22.10.2 to 22.10.5 0dc448e
  • 💸 org-level funding 8731a7f
  • Bump builtin-modules from 3.3.0 to 4.0.0 574500f
  • 🩹 remove sass warning 86431a1
  • Bump @types/node from 22.13.10 to 22.13.14 143ccfc

README file from

Github

Snippetor

GitHub tag (Latest by date) GitHub all releases

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

  • Custom tasks
  • more to come...

Complementary Plugins

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:

  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.

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

The top row has a few things going on:

  • 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

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
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
Hyphenation
3 years ago by 7596ff
Enables justified text and hyphenation
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
Jelly Snippets
3 years ago by Spencer Gouw
A simple text snippets plugin for Obsidian.md. BACKUP SNIPPETS BEFORE UPDATING.
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
Style Text
3 years ago by Juanjo Arranz
Apply custom CSS styles to selected text in your Obsidian Notes
CSS Editor
3 years ago by Zachatoo
Edit CSS snippets in Obsidian.
Regex Mark
2 years ago by Mara-Li
CSS Inlay Colors
2 years ago by Benji Grant
Show inline color hints for CSS colors in Obsidian
Snippets Manager
2 years ago by Venkatraman Dhamodaran
Snippets Manager (Text Expander) For 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
Snippets
5 years ago by Pelao
Text Snippets
5 years ago by Ariana Khitrova
Snippets plugin for obsidian
Snippet Commands
5 years ago by death_au
Registers custom css snippets as commands (which you can bind hotkeys to)
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 🖌.
Auto Class
4 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
Snippetsaurus
a year ago by Christian Humbert
Inline Code Copy
a year ago by Hongchen Lin
Slash snippets
10 months ago by echo-saurav
Insert snippet of text with slash command
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.
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.
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Auto Math
2 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.