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

Code Preview for Obsidian

Preview code blocks in Obsidian by referencing a file path, allowing you to display external code files inline.

Chinese summary

在 Obsidian 中通过文件路径引用外部代码文件,以内联方式预览代码块。

Key Use Cases

  • Including code from external files in documentation or notes
  • Maintaining a single source of truth for code examples across multiple notes
  • Avoiding copy-paste errors when updating code samples

Pros

  • Keeps displayed code automatically synchronized with source files
  • Reduces manual duplication and potential errors
  • Simple setup for file-based code preview

Limitations

  • Requires correct file path configuration
  • May not support all file types or languages
  • Limited to preview functionality; no editing within the block

Tags

code-previewfile-pathcode-blocksinlinedeveloper-tools

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.