File Include
approvedby Till Hoffmann
Include or embed files in Obsidian Markdown.
★ 34 stars↓ 5,067 downloadsUpdated 2y agoMIT

Include files in Obsidian using include code blocks.
```include
hello.py
```
hello.py
Add syntax highlighting by adding the language separated by a space.
```include python
hello.py
```
hello.py
Paths are resolved relative to the markdown file. Prefix the path with @/ to resolve relative to the vault root.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.