README file from
GithubEmbed HTML
This is a plugin for Obsidian that adds support for embedding HTML files.

Usage
You can download demo vault to see usage examples.
Supported extensions
You can embed HTML pages from files with following extension:
htmhtmlshtmlxhtxhtml
Embed HTML with default width, height from plugin settings
![[file.html]]
Embed HTML with custom width
![[file.html|400]]
Embed HTML with custom width and height
![[file.html|400x300]]
Embed HTML and scroll to the element with id
![[file.html#foo]]
or
![[file.html#foo&mode=scroll]]
Embed HTML and extract element with id
![[file.html#foo&mode=extract]]
Installation
The plugin is available in the official Community Plugins repository.
Beta versions
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:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
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.
Support
My other Obsidian resources
See my other Obsidian resources.