Obsidian embeds notes, images and PDFs, but an .html file in your vault is
just a file you can open — you cannot show it inside a note. So a report, a chart exported from another
tool, or a page you built yourself has to live outside your notes, or be flattened into a screenshot.
This plugin embeds HTML files directly in a note, with the same ![[file.html]] syntax you already use,
sized how you want, styled to match your theme, and able to run its own JavaScript.
The documentation is an interactive demo vault. Every feature has a note that explains what it does and why you would want it, with real HTML files already in place to embed.
Start reading here — it is plain markdown, so it works on GitHub with nothing installed.
A copy of the vault ships with every release. You can access it via any of the following:
embed-html-demo-vault-<version>.zip (<version> is the release version) from the Releases.demo-vault/ in this repository.htm, html, shtml, xht and xhtml all supported.
01 Basic Embed ·
07 File ExtensionsThe plugin is available in the official Community Plugins repository.
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
Add plugin button once and wait a few seconds for the plugin to install.By default, debug messages for this plugin are hidden.
To show them, run the following command in the DevTools Console:
window.DEBUG.enable('embed-html');
For more details, refer to the documentation.
All notable changes to this project will be documented in the CHANGELOG.
Contributions are welcome — see CONTRIBUTING to get set up.
See my other Obsidian resources.