Custom Syntax Highlights for Obsidian
Display files with custom extensions as syntax-highlighted code blocks in reading view with configurable extension-to-language mappings.
Chinese summary
允许在阅读视图中将以自定义扩展名结尾的文件显示为语法高亮的代码块,并支持可配置的文件扩展名与编程语言映射。
Key Use Cases
- Embedding source code files with unusual extensions
- Highlighting log files or configuration files
- Displaying code snippets in reading view
Pros
- Easy to set up extension-to-language mappings
- Enhances readability of code in notes
- Works in reading view
Limitations
- Limited to syntax highlighting only (no editing)
- Requires manual configuration for each extension
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.