Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

HTML Docs

SamSam170 downloads

A zero-dependency minimal plugin to enable html docs in Obsidian

Add to Obsidian
HTML Docs screenshot
  • Overview
  • Scorecard
  • Updates6

A zero-dependency minimal plugin to enable .html docs inside Obsidian. Inspired by Thariq's "unreasonable effectiveness of HTML".

  • HTML is rendered in a sandboxed <iframe>, and works across tabs, embeds (![[doc.html]]), and Canvas.
  • JS can run inside the HTML for interactivity but the iframe is isolated from your other notes and Obsidian's own data.
  • No other bells and whistles.

The plugin is ~190 lines of code, ~660 lines of test, and requires no external dependencies.

Demo

A demo page (test/fixture.html) demonstrates all the passing HTML features.

Installation

Note: Obsidian only shows .md files in your file explorer, by default. To see your .html files too, be sure to enable: Settings → Files & links → Show all file types

Install from Obsidian directly

  • Go to Obsidian Community Plugins: community.obsidian.md/plugins/html-docs
  • Click Install

Install manually

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Place those files into <vault>/.obsidian/plugins/html-docs/.
  3. Enable HTML Docs in Obsidian's Community Plugins settings.

Releases are built and signed by GitHub Actions (.github/workflows/release.yml) so the binaries carry a build attestation you can verify against the source.

Build and install from source

git clone https://github.com/smcllns/obsidian-plugin-html-docs/
npm install
npm run dev      # watch + rebuild
npm run build    # production bundle at `dist/html-docs/`

Test

An E2E test runner validates features, embeds, Canvas cards, and sandboxing are working correctly. Requires obsidian-cli, Obsidian running with a vault open, the plugin installed and enabled, and jq available.

npm test

The script builds the current plugin, copies it into the active vault's plugin folder, reloads it, copies test/fixture.html into the vault temporarily, opens it in Obsidian, verifies the tab view plus markdown and Canvas embeds, collects the iframe’s own self-test results via postMessage, then cleans up.

See test/fixture.html for the full list of features exercised — and the inline notes for what is intentionally blocked.

Obsidian Official Resources

  • Developer docs: docs.obsidian.md

Feedback / Support

This plugin will stay simple and do this one thing well.

File issues here, or message me on X: @smcllns.

If you want more features, please fork and customize as you need.

94%
HealthExcellent
ReviewPassed
About
Bringing the unreasonable effectiveness of HTML to Obsidian. HTML is rendered in a sandboxed iframe and works across tabs, embeds, and canvas. JS can run inside the HTML for interactivity but the iframe is isolated from your other notes and Obsidian's own data. No other bells and whistles. Minimal, simple, one job.
HTMLAppearanceFiles
Details
Current version
1.1.1
Last updated
23 hours ago
Created
2 days ago
Updates
6 releases
Downloads
170
Compatible with
Obsidian 1.4.0+
License
MIT
Report bugRequest featureReport plugin
Author
SamSamsmcllns
samcollins.blog
GitHubsmcllns
Xsmcllns
  1. Community
  2. Plugins
  3. HTML
  4. HTML Docs

Related plugins

Notebook Navigator

Alternative file browser with folders, tags, properties, calendar, previews, shortcuts, recent files, keyboard navigation, drag and drop, and pinned notes.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Recent Files

Display a list of recently opened files.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Claudian

Embeds Claude Code/Codex as an AI collaborator in your vault. Your vault becomes agent's working directory, giving it full agentic capabilities: file read/write, search, bash commands, and multi-step workflows.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Text Extractor

A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.

Link Favicons

See the favicon for a linked website.

Lapel

Show the heading levels in the gutter of the editor.