Embed HTML

by mnaoumov
5
4
3
2
1
Score: 60/100

Description

Category: Note Enhancements

The Embed HTML plugin lets you place local HTML documents inside notes with more control than a simple file embed. It supports width and height shorthands, content fitting layouts, CSS based sizing rules, borders, rounded corners, background styling and commands to open the source page in a new tab or external browser. The embedded view can follow stylesheet imports, scripts, images and fonts, and it can react to content size changes as the page loads. The README also covers color scheme handling, scrolling to an element by id and extracting a specific element, which makes the plugin useful for demos, widgets and self contained web pages stored in your vault.

Reviews

No reviews yet.

Stats

38
stars
23,860
downloads
3
forks
154
days
1
days
12
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
15
total issues
0
open issues
15
closed issues
331
commits

Latest Version

12 days ago

Changelog

This release has 1 new feature, 1 fix and 4 documentation changes. 8 maintenance commits (tests, build, CI, refactoring, dependencies) are not listed.

New

  • add a Report a bug command

Fixed

  • deps: refresh vulnerable browser testing dependencies

Documentation

  • readme: point bug reports at the Report a bug command
  • add issue-filing instructions for AI agents
  • readme: combine related resources and plugin comparisons
  • list similar plugins in the README

Full Changelog: https://github.com/mnaoumov/obsidian-embed-html/compare/2.6.2...2.7.0

README file from

Github

Embed HTML

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

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.

Demo vault

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:

  1. Running the Embed HTML: Open demo vault command.
  2. Downloading embed-html-demo-vault.zip from the Releases. It unzips into a single embed-html-demo-vault-<version> folder.
  3. Browsing its source in demo-vault/ in this repository.

What it does

See also

My other Obsidian resources

Plugin Features How Embed HTML differs
Artifact Embed File, URL or inline HTML cards; reload/copy; theme styling; height only Overlaps on file/URL content; native embed syntax; width and height
Custom Frames Web-app panes; presets and custom styling; configured-frame blocks Overlaps on web content; also embeds vault HTML files
HTML Embed Unlisted; vault HTML with scripts; sized html-embed blocks Overlaps on file embeds; native syntax and web pages too
HTML Embed Anywhere Unlisted; file/URL html-embed blocks; canvas cards; Plotly fitting Overlaps on file/URL content; native embed syntax
HTML Page Preview Reading-view HTML embeds; global 16:9 or infinite height Broader rendering: per-embed sizes; Live Preview too
HTML Prototype Viewer HTML tabs; device-width presets; live reload; html-preview blocks Alternative syntax: native embeds; file and web-page content
HTML Reader HTML/MHTML tabs; five trust modes; search and zoom; no note embeds Different placement: embeds content inside notes
HTML V Editor HTML-file embeds and inline blocks; visual HTML editing; desktop-only Overlaps on embeds; mobile support; never writes the HTML file
HTML Viewer Plus Sized HTML-file embeds; element selection; zoom/search; MHTML viewer Overlaps on file embeds; also embeds web pages
Local HTML Embed html-embed blocks; vault files or note-matched files; desktop-only Alternative syntax: native embeds; mobile support
Local Web Page Viewer HTML tabs; inlined stylesheets; zoom, bookmarks, scroll memory; desktop/mobile Different placement: embeds content inside notes
Style HTML Viewer HTML tabs and resizable html-viewer blocks; per-file script consent; diagnostics Alternative syntax: native embeds; explicit per-embed dimensions
ZJ HTML Studio Sized HTML-file embeds; local server; trust modes; live reload; desktop-only Overlaps on file embeds; also web pages; mobile support

Last searched for similar plugins on 2026-10-26.

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:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button once and wait a few seconds for the plugin to install.

Debugging

By default, debug messages for this plugin (id: embed-html) are hidden.

If you need to enable them refer to the documentation.

Changelog

All notable changes to this project will be documented in the CHANGELOG.

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

Filing an issue (for AI agents and humans)

Open issues through the issue forms, not as blank issues.

To report a bug from inside Obsidian, run the Embed HTML: Report a bug command. It opens the bug form with the plugin version, the Obsidian version and your operating system already filled in.

Filing from the CLI or the API (gh issue create --body, or an AI agent filing for you) skips the form, and gh issue create --template cannot load an issue form. In that case, open the matching form in .github/ISSUE_TEMPLATE/, copy every field as a ### <label> heading in the form's order, and fill in each one. Always state the plugin version, the Obsidian version and your operating system.

License

© Michael Naumov

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Style Settings
6 years ago by mgmeyers
A dynamic user interface for adjusting theme, plugin, and snippet CSS variables within Obsidian
Importer
3 years ago by Obsidian
Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.
Note Toolbar
4 months ago by chrisgurney
Flexible, context-aware toolbars for your notes in Obsidian.
Obsidian Enhancing Export
5 years ago by YISH
This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/ ). It's allow you to export to formats like Markdown、Markdown (Hugo https://gohugo.io/ )、Html、docx、Latex etc.
Webpage HTML Export
4 years ago by Nathan George
Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
Link Embed
5 years ago by SErAphLi
This plugin allow you to convert URLs in your notes into embeded previews.
Convert url to preview (iframe)
6 months ago by fhachez
Plugin for Obsidian.md to convert a selected URL to an iframe.
Better File Link
5 years ago by Marc Julian Schwarz
A plugin for the note taking app Obsidian to add better external file links to your notes.
Obsidian markdown export
4 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
Copy as HTML
5 years ago by Bailey Jennings
A simple plugin that copies the selected text to your clipboard as HTML
Copy document as HTML
4 years ago by mvdkwast
Obsidian plugin: copy document as HTML, including images
MySnippets
5 years ago by Chetachi
MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.
Canvas CSS class
4 years ago by Lisandra-dev
A plugin that will add a css class to your canvas & adding to each canvas the path to help personnalization
Sync Embeds
6 months ago by uthvah
Transform static embeds into live synced blocks in Obsidian.
Topic Linking
5 years ago by Liam Magee
An Obsidian plugin for finding and linking topics in a vault.
Style Text
3 years ago by Juanjo Arranz
Apply custom CSS styles to selected text in your Obsidian Notes
Paste As Html
4 years ago by maotong06
Insta TOC
2 years ago by Nick C.
Generate, update, and maintain a table of contents for your notes while typing in real time.
Snippetor
5 years ago by ebullient
An assist for creating CSS snippets for Obsidian
Html Server
3 years ago by Pr0dt0s
Obsidian plugin to serve a vault as an html site.
Hyphenation
4 years ago by 7596ff
Enables justified text and hyphenation
Custom Classes
4 years ago by Lila Rest
A minimal Obsidian plugin that allows you to add your own HTML classes to chosen Markdown elements directly from your notes.
Script Launcher
4 years ago by Alessandro Ruggiero
An Obsidian plugin that allows you to easily run scripts written in any language directly from the app
Embed Code File
4 years ago by Abdullah Almariah
RunJS
3 years ago by eoureo
Let's run JavaScript easily and simply in Obsidian.
Regex Mark
2 years ago by Mara-Li
Snippet Commands
5 years ago by death_au
Registers custom css snippets as commands (which you can bind hotkeys to)
Local Quotes
4 years ago by ka1tzyu
📜 Collect your quotes from all over the vault and embed them in different locations with refresh delays
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
GitHub Embeds
3 years ago by Gino Valente
Embed GitHub issues, PRs, and code snippets directly in Obsidian
CSS Inlay Colors
2 years ago by Benji Grant
Show inline color hints for CSS colors in Obsidian
Auto Class
5 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
Custom Theme Studio
a year ago by @gapmiss
An Obsidian.md plugin to create and tweak custom themes with live CSS editing, element styling, and instant previews. All without leaving Obsidian.
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
Figma Embed
2 years ago by Kyle Kochanek
Obsidian plugin to embed live Figma files in your markdown notes.
Send to Canvas
a year ago by wenlzhang
An Obsidian plugin that allows you to send tasks, blocks, and notes to Canvas files as plain text, links, and embeds.
Notion Video Embed
5 years ago by lastknightcoder
Copy as source
3 years ago by @gapmiss
Select and copy source HTML in reading view in Obsidian.md
CSS Inserter
2 years ago by Erika Gozar
Inserts user-defined css snippets into the selected text.
Model Viewer
2 years ago by Janis Pritzkau
An Obsidian plugin to view and embed 3D models using Google’s <model-viewer> component.
Remove HTML Tag
2 years ago by ChenPengyuan
Image to HTML
2 years ago by 0x1DA9430
A plugin for Obsidian that converts pasted images to HTML format instead of Obsidian's wikilink or Markdown format
ii
2 years ago by Wilson
The main feature of this plugin is to quickly insert common Markdown code and HTML code, including Sup, Sub, Audio, Video, Iframe, Left-Center-Right Alignment, Variables, Footnotes, Callout, Anchor Points, HTML Comments and so on.
Auto Close Tags
a year ago by k0src
Obsidian MD plugin to auto-close HTML tags.
Smart HTML Select
2 years ago by Isaia Riva
An Obsidian plugin to insert a smart HTML select element into the editor
Path in tab title
6 months ago by d9k
Paste as Embed
2 years ago by Matt Laporte
Obsidian plugin to paste contents of clipboard into a new note, and embed it in the active note.
Arweave Uploader
2 years ago by makesimple