Embed HTML
pendingby mnaoumov
Adds support for embedding HTML files.
Embed HTML
This is a plugin for Obsidian that adds support for embedding HTML files.
Usage
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 not available in the official Community Plugins repository yet.
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.
License
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.
