rosswang2k downloadsRender spatial HTML in Obsidian notes — compare, timeline, diagram (SVG), report, slides. Export with zoom controls.
Convert Obsidian Markdown notes to standalone HTML files following the html-effectiveness standard.
Obsidian notes are locked inside the app. When you want to share a formatted note as a web page, you normally have to convert it by hand. This plugin adds a command that turns the active note into an .html file next to the source note.
.md files in the current folder.html file is written next to the .md source, titles, and Obsidian size syntax ![[image.png]], ![[image.png|300]], and ![[image.png|300x200]]![[...]] embeds, are embedded as base64 data URIsSettings → Community plugins → Browse → search "MD to HTML Effectiveness".
yanqingwang/obsidian-md-to-html-effect..html file appears in the same folder.To convert a folder, open any note in that folder and run "Convert all markdown in folder to HTML". Existing .html files are skipped, so delete an old output before converting again.
Local images are embedded into the HTML as data URIs, so the generated file can be moved independently. External image URLs remain as URLs and still require network access. Notes with many images produce larger HTML files.
The generated file contains inline CSS, no external scripts, and a responsive light or dark theme. With Auto, the theme is captured from Obsidian at conversion time; changing the Obsidian theme later does not modify existing HTML, so reconvert to update it. Local images are embedded as data URIs, so the HTML is self-contained apart from external image URLs. Tables use proper <thead> / <tbody> markup, and image dimensions from Obsidian embeds are preserved. Mermaid diagrams are converted to inline SVG, so the HTML does not need a Mermaid runtime.
npm install
npm run build
node test-convert.js
When reporting a problem, please include your Obsidian version, plugin version, a description or screenshot, and the expected result.
MIT
Copyright (c) 2026 rosswang (Heart and Road Ltd)
将 Obsidian 中的 Markdown 笔记转换为符合 html-effectiveness 标准的独立 HTML 文件。
Obsidian 笔记被锁定在应用内。想以网页形式分享格式化笔记时,通常需要手动转换。本插件提供一个命令,把当前笔记转换成同目录下的 .html 文件。
.md 文件.html 文件与 .md 源文件位于同一文件夹、标题,以及 Obsidian 尺寸语法 ![[image.png]]、![[image.png|300]]、![[image.png|300x200]]![[...]] 嵌入)会以 base64 data URI 写入 HTML设置 → 社区插件 → 浏览 → 搜索 "MD to HTML Effectiveness"。
yanqingwang/obsidian-md-to-html-effect。.html 文件。批量转换:打开目标文件夹内任意笔记,运行 "Convert all markdown in folder to HTML"。已存在的 .html 会被跳过,需要重新转换时请先删除旧文件。
本地图片会以 data URI 内嵌到 HTML 中,因此生成的文件可以单独移动。外链图片仍保留原始 URL,需要联网加载。图片较多时 HTML 文件会相应变大。
生成的文件包含内联 CSS,不依赖外部脚本,并提供响应式深色或浅色主题。选择自动模式时,主题会在转换时从 Obsidian 读取;之后更改 Obsidian 主题不会修改已经生成的 HTML,需要重新转换。本地图片会以 data URI 内嵌,因此除了外链图片之外,HTML 是自包含的。表格使用正确的 <thead> / <tbody> 结构,Obsidian 图片嵌入中的宽高设置会保留。Mermaid 图表会转换为内联 SVG,因此 HTML 不需要额外的 Mermaid 运行时。
npm install
npm run build
node test-convert.js
反馈时请尽量提供:Obsidian 版本、插件版本、问题描述或截图、预期结果。
MIT
Copyright (c) 2026 rosswang (Heart and Road Ltd)