No description
Find a file
Zachatoo 7d2f36164d Remove unnecessary api version check
minAppVersion in the manifest.json is above the version we're checking for
2026-05-13 22:35:05 -06:00
.github Update node version in release GitHub action 2026-05-12 23:03:10 -06:00
.vscode Include .vscode/settings.json file in repo for flat config support 2025-09-06 23:56:22 -06:00
src Remove unnecessary api version check 2026-05-13 22:35:05 -06:00
test Update linter, fix linting issues 2026-05-12 22:44:46 -06:00
.editorconfig Initial commit 2023-03-22 21:17:39 -06:00
.gitattributes Add video to README 2023-05-19 22:16:36 -06:00
.gitignore Setup webdriverio for e2e tests 2025-11-04 22:58:26 -07:00
.gitmodules Remove obsidian-plugin-scripts submodule 2025-09-06 23:41:58 -06:00
.npmrc Initial commit 2023-03-22 21:17:39 -06:00
esbuild.config.mjs Update linter, fix linting issues 2026-05-12 22:44:46 -06:00
eslint.config.mjs Update linter, fix linting issues 2026-05-12 22:44:46 -06:00
LICENSE Update year in LICENSE 2026-02-01 21:38:59 -07:00
manifest.json 1.14.1 2026-05-12 22:59:52 -06:00
package-lock.json 1.14.1 2026-05-12 22:59:52 -06:00
package.json 1.14.1 2026-05-12 22:59:52 -06:00
README.md Update README 2026-05-12 22:59:38 -06:00
styles.css Add next/previous/all/clear buttons, styling updates for search 2026-02-01 21:20:21 -07:00
tsconfig.json Run tests in GitHub actions 2025-11-20 22:24:42 -07:00
version-bump.mjs Update and document release process 2025-11-04 21:36:01 -07:00
versions.json 1.12.1 2026-01-12 22:00:40 -07:00
wdio.conf.mts Increase timeout duration for *waitfor in tests 2025-12-28 22:40:16 -07:00

Obsidian Downloads Test

CSS Editor

This plugin allows you to edit CSS files in the .obsidian/snippets/ directory, with syntax highlighting and code completion, no external editor required.

Features

  • Create, edit, rename, and delete CSS snippets
  • Syntax highlighting and code completion
  • Works on desktop and mobile
  • Basic VIM support

Installation

  1. Open Obsidian Settings → Community plugins → Browse.
  2. Search for "CSS Editor" and click Install, then Enable.

Commands

Create CSS snippet

Opens a prompt to create a CSS snippet in your .obsidian/snippets/ directory. Upon creation, show editor to edit that CSS file.

Open CSS snippet quick switcher

Opens a suggestion modal to create, edit, or delete a CSS snippet. Has similar functionality to the core quick switcher where holding down a secondary key will modify the action that will take place.

  • Press Enter to open the selected CSS snippet, or if no suggestions are available, create a new CSS snippet.
  • Press Enter to open the selected CSS snippet in a new tab.
  • Press ShiftEnter to create a new CSS snippet.
  • Press Tab to toggle the enable/disable state of the selected CSS snippet.
  • Press Delete to delete the selected CSS snippet.

Delete CSS snippet

Deletes the currently active CSS snippet file. Only available when viewing a CSS snippet file.

Toggle the enabled/disabled state of CSS snippet

If the currently active CSS snippet file is enabled then disable it, and vice versa. Only available when viewing a CSS snippet file. Note that you can also toggle this state directly from the quick switcher using the Tab key.


Contributing

Releasing

Releasing a new version involves the following steps:

  1. Update minAppVersion in manifest.json if applicable.
  2. Run npm version patch, npm version minor, or npm version major.
    • This command will bump the version in the manifest.json, package.json, and package-lock.json files, add a new entry in versions.json, and create a git tag.
  3. Push the changes and tag. This will trigger a GitHub action to create the release.

Running tests

Tests are run using wdio-obsidian-service. Tests are run automatically during PR checks and before releasing. You can also run tests manually with npm test.