This is an unofficial, community-made directory. Not affiliated with Obsidian or Dynalist Inc.
Actively maintainedDeveloperbeginner

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

syntax-highlightingcode-blockscustom-extensionsdeveloper-toolsfile-mapping

Related Plugins

ActiveDeveloper
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.

ActiveDeveloper
2.3M downloads

Style Settings

Allows users to adjust CSS variables of themes, plugins, and custom snippets directly from an intuitive settings panel.

ActiveDeveloper
724K downloads

BRAT

Easily install a beta version of a plugin for testing within Obsidian.