Open HTML files in a tab instead of an external browser, with scripts, styles, and neighboring files intact.
Open .html files inside Obsidian, in a normal tab.
Obsidian hides HTML files by default, and when you use "Show all file types" settings, clicking HTML files from the navbar kicks you out to external browsers instead of showing them in the built-in web view. This plugin makes HTML files appear in the file explorer and open right where you're working.
Handy if your vault collects HTML, reports, dashboards, charts, exported notes, mockups, or anything your AI assistant writes for you.
Not in the community plugin list yet, so install it manually. In a terminal:
git clone https://github.com/zeroliu/obsidian-html-companion.git
cd obsidian-html-companion && npm install && npm run build
./scripts/install.sh /path/to/your/vault
Then restart Obsidian and turn on HTML Companion in Settings → Community plugins.
Prefer to do it by hand? Copy main.js, manifest.json, and styles.css into <vault>/.obsidian/plugins/html-companion/.
.html and .htm files show up in the file explorer with an HTML badge. No need to turn on "Detect all file extensions".Agents are unusually good at HTML, and Anthropic's Claude Code team makes the case for leaning into that in The unreasonable effectiveness of HTML: a plan, a report, or a review reads far better as a real page than as another wall of Markdown.
Ask Obsidian Copilot for one and it lands in your vault. And then it disappears. The file is right there, but Obsidian won't list it or open it, so you end up digging through Finder and switching to a browser to read something your notes just made.
This plugin closes that loop. The page your assistant wrote opens in a tab next to the note it came from.
npm install
npm run dev # watch build
npm test # unit tests
npm run build # typecheck + production bundle
MIT