The Obsidian Dynamic Embed plugin enhances content integration within your vault by allowing the embedding of file contents as if they were part of the current document. Unlike the default ![[]]
tag, this plugin treats the embedded files as content rather than simple references, ensuring seamless inclusion. It supports importing entire files from the vault using a straightforward syntax, ideal for incorporating reusable snippets, templates, or other linkable resources into your notes. Note that the plugin currently does not support embedding specific headings or block links within files.
Changing markdown conversion to blocking call
Embedded file reading is now using the cachedRead API method
Added an error case for non-markdown embedded files
Update of usage doc, not supporting links to blocks in files
General code refactoring and improving readability and quality
Full Changelog: https://github.com/dabravin/obsidian-dynamic-embed/compare/1.0.2…1.1.0
Obsidian Dynamic Embed
Embed snippets, templates and any linkables by delegating the current scope to the embedded file, treating them as content instead of references, contrary to the integrated tag ![[]]
.
Example
Import the contents of file Script-note-template file name link.md
, existing in the active vault.
Note that the link syntax does not support heading/block links (e.g. [[file#heading1]]
)
```dynamic-embed
[[Script-note-template file name link]]
```