Embed HTML

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

30
stars
15,706
downloads
3
forks
128
days
57
days
65
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
13
total issues
1
open issues
12
closed issues
197
commits

Latest Version

2 months ago

Changelog

  • docs: make the demo vault the documentation, in the standard layout
  • feat(demo-vault): migrate to obsidian-dev-utils 93.3.1 and adopt the authoring convention

Full Changelog: https://github.com/mnaoumov/obsidian-embed-html/compare/2.5.4...2.5.5

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.
Snippetor
5 years ago by ebullient
An assist for creating CSS snippets for Obsidian
Topic Linking
5 years ago by Liam Magee
An Obsidian plugin for finding and linking topics in a vault.
Copy as HTML
5 years ago by Bailey Jennings
A simple plugin that copies the selected text to your clipboard as HTML
Link Embed
4 years ago by SErAphLi
This plugin allow you to convert URLs in your notes into embeded previews.
Notion Video Embed
4 years ago by lastknightcoder
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.
Local Quotes
4 years ago by ka1tzyu
📜 Collect your quotes from all over the vault and embed them in different locations with refresh delays
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
Embed Code File
4 years ago by Abdullah Almariah
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
Copy document as HTML
4 years ago by mvdkwast
Obsidian plugin: copy document as HTML, including images
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)
Paste As Html
4 years ago by maotong06
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.
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
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.
Html Server
3 years ago by Pr0dt0s
Obsidian plugin to serve a vault as an html site.
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.
Style Text
3 years ago by Juanjo Arranz
Apply custom CSS styles to selected text in your Obsidian Notes
RunJS
3 years ago by eoureo
Let's run JavaScript easily and simply in Obsidian.
GitHub Embeds
3 years ago by Gino Valente
Embed GitHub issues, PRs, and code snippets directly in Obsidian
Copy as source
3 years ago by @gapmiss
Select and copy source HTML in reading view in Obsidian.md
Smart HTML Select
2 years ago by Isaia Riva
An Obsidian plugin to insert a smart HTML select element into the editor
Regex Mark
2 years ago by Mara-Li
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.
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.
CSS Inlay Colors
2 years ago by Benji Grant
Show inline color hints for CSS colors in Obsidian
CSS Inserter
2 years ago by Erika Gozar
Inserts user-defined css snippets into the selected text.
Style Settings
6 years ago by mgmeyers
A dynamic user interface for adjusting theme, plugin, and snippet CSS variables within Obsidian
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.
Snippet Commands
5 years ago by death_au
Registers custom css snippets as commands (which you can bind hotkeys to)
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 🖌.
Auto Class
5 years ago by Nathonius
Automatically add CSS classes to notes based on file path.
Remove HTML Tag
2 years ago by ChenPengyuan
Figma Embed
2 years ago by Kyle Kochanek
Obsidian plugin to embed live Figma files in your markdown notes.
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.
Arweave Uploader
2 years ago by makesimple
Insta TOC
2 years ago by Nick C.
Generate, update, and maintain a table of contents for your notes while typing in real time.
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
Model Viewer
a year ago by Janis Pritzkau
An Obsidian plugin to view and embed 3D models using Google’s <model-viewer> component.
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.
Auto Close Tags
a year ago by k0src
Obsidian MD plugin to auto-close HTML tags.
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.
Path in tab title
5 months ago by d9k
Sync Embeds
5 months ago by uthvah
Transform static embeds into live synced blocks in Obsidian.
Convert url to preview (iframe)
5 months ago by fhachez
Plugin for Obsidian.md to convert a selected URL to an iframe.
Note Toolbar
3 months ago by chrisgurney
Flexible, context-aware toolbars for your notes in Obsidian.