Auto Class for Obsidian
Automatically applies CSS classes to Markdown views based on a note's file path, enabling custom visual styling per folder or location.
Chinese summary
根据笔记的文件路径自动为Markdown视图应用CSS类,从而实现按文件夹或位置进行自定义视觉样式。
Key Use Cases
- Apply different background colors to notes in separate project folders
- Highlight notes from specific directories with custom borders or fonts
- Create visual cues for note status based on path structure
Pros
- Fully automatic once configured
- Highly flexible via CSS
- No need to edit note properties or frontmatter
Limitations
- Requires working knowledge of CSS
- May conflict with existing theme styles
- Can be tricky to debug if rules overlap
Tags
Related Plugins
2.5M downloads
Git
Git plugin automatically backs up your Obsidian vault to a Git repository on a schedule. It's the go-to backup and version control solution for technical users who want full history of their notes.
2.3M downloads
Style Settings
Allows users to adjust CSS variables of themes, plugins, and custom snippets directly from an intuitive settings panel.
Get the best Obsidian plugins in your inbox
Monthly picks: top new plugins, hidden gems, and curated plugin stacks for different workflows.