A plugin for Obsidian that allows you to selectively blur elements in your notes for privacy or focus purposes.
- Selective Blurring: Choose specific elements to blur in your notes
- Preset Management: Create and manage blur presets
- Easy Selection: Visual interface for selecting elements with real-time preview
- Draggable Panel: Convenient preset management panel that can be moved around
- Customizable Blur: Adjust the blur amount to your preference
- Keyword-based Blur: Blur objects containing specified keywords
- Open the command palette (Cmd/Ctrl + P)
- Run the "Blur Mode:Manage Blur Presets" command
- A draggable panel will appear showing your current presets
- Click elements to add them to your preset (yellow highlight)
- Click again to remove them from the preset (red highlight)
- Use the × button in the preset panel to remove specific elements
- Click the blur icon in the ribbon to toggle the blur effect on/off
- When enabled, all elements in your presets will be blurred
- When disabled, all elements return to normal visibility
- Go to Settings > Blur Mode
- Adjust the "Blur Amount" value (e.g., "0.5em")
- Changes will apply immediately if blur is enabled
- Download the latest release
- Extract the files to your vault's
.obsidian/plugins/obsidian-blur
folder - Reload Obsidian
- Enable the plugin in Community Plugins settings
This plugin is built using TypeScript and the Obsidian API.
- Node.js
- npm or yarn
- Basic knowledge of TypeScript and Obsidian API
- Clone this repository
- Install dependencies
npm install
- Build the plugin
npm run build
npm run dev
- Start development build with hot reloadnpm run build
- Create production build
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see the LICENSE file for details
If you encounter any issues or have suggestions, please open an issue on GitHub.
- Thanks to the Obsidian team for their excellent API
- Inspired by LiteLoaderQQNT-Plugin-Demo-Mode
- Adjust code to comply with official requirements
- Add Debug-mode
- Use CSS for styling instead of JS/HTML per Obsidian guidelines
- Add three-color highlight system (red/yellow/green) for element states
- Refactor code
- Use the floating panel to select css and add keywords
- When the blur effect is turned on and off, the ribbon icon will change
- Add keywords blur
- Merges css selectors and keywords
- Use github action to release
- Initial release
- Basic blur functionality
- Preset management
- Customizable blur amount
- Multiple preset support
- Keyboard shortcuts
- Export/Import presets
- Keyword-based blur function to break through the limitations of css selection (such as only blurring specific notes)