Roman Soriano4 downloadsAdd editable descriptions to CSS snippets using portable header comments.
A plugin to edit/display CSS snippet descriptions directly within the CSS snippets menu. The description you add is saved within the CSS snippet itself, so even if you're viewing/editing the snippet elsewhere, the description will follow.


/* @description: Adds alternating row colors. */
.table tr:nth-child(even) {
background: var(--background-secondary);
}
This is where the description is read from, meaning if you edit this CSS files @description line outside of Obsidian, the Snippet description shown in the Snippets menu will match. You may need to click "Reload Snippets" to see your changes if modified outside of Obsidian.
Available through the Obsidian Community Plugins: https://community.obsidian.md/plugins/css-snippet-descriptions