Embed HTML

by mnaoumov
5
4
3
2
1
Score: 56/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

32
stars
18,465
downloads
2
forks
106
days
1
days
25
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
13
total issues
0
open issues
13
closed issues
255
commits

Latest Version

a month ago

Changelog

  • chore(deps): sweep caret-ranged dependencies to latest
  • fix(deps): move to obsidian-integration-testing 11 and obsidian-dev-utils 96.5.2
  • fix(deps): drop the brace-expansion file: override that breaks a clean install

Full Changelog: https://github.com/mnaoumov/obsidian-embed-html/compare/2.5.8...2.5.9

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

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 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.

Changelog

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

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Style Settings
5 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.
Obsidian Enhancing Export
4 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.
Note Toolbar
3 months ago by chrisgurney
Flexible, context-aware toolbars for your notes in Obsidian.
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
4 years ago by SErAphLi
This plugin allow you to convert URLs in your notes into embeded previews.
Convert url to preview (iframe)
4 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
4 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
Html Server
3 years ago by Pr0dt0s
Obsidian plugin to serve a vault as an html site.
Snippetor
5 years ago by ebullient
An assist for creating CSS snippets for Obsidian
Insta TOC
2 years ago by Nick C.
Generate, update, and maintain a table of contents for your notes while typing in real time.
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
GitHub Embeds
3 years ago by Gino Valente
Embed GitHub issues, PRs, and code snippets directly in Obsidian
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.
Auto Class
5 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
CSS Inlay Colors
2 years ago by Benji Grant
Show inline color hints for CSS colors in Obsidian
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 !
Notion Video Embed
4 years ago by lastknightcoder
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.
Figma Embed
2 years ago by Kyle Kochanek
Obsidian plugin to embed live Figma files in your markdown notes.
Copy as source
3 years ago by @gapmiss
Select and copy source HTML in reading view in Obsidian.md
Remove HTML Tag
2 years ago by ChenPengyuan
CSS Inserter
2 years ago by Erika Gozar
Inserts user-defined css snippets into the selected text.
Model Viewer
a year ago by Janis Pritzkau
An Obsidian plugin to view and embed 3D models using Google’s <model-viewer> component.
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.
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
Smart HTML Select
2 years ago by Isaia Riva
An Obsidian plugin to insert a smart HTML select element into the editor
Auto Close Tags
a year ago by k0src
Obsidian MD plugin to auto-close HTML tags.
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
Path in tab title
4 months ago by d9k