sdking376 downloadsRender draw.io, Visio diagrams, Powerpoint inline in your notes — zoom, pan, multi-page tabs, shape links, a magnifier, and third-party shape libraries. More file formats planned.
🔍 Zoom · 🖱️ Pan · 📄 Multi-page · 🎞️ Slides · 🗂️ Open in a tab · 🔗 Shape links · 🔎 Magnifier · ⤢ Fullscreen · 📦 Third-party libs · 🖍️ Search highlight · 🌙 Dark mode
Features · Demo · Usage · Tabs · Search · Shape Libraries · Controls · Settings · Install · 中文
Follow on WeChat for more Obsidian plugins & tools
| Other plugins I build | ||
|---|---|---|
| Plugin | Description | Install page |
| Rich Table | Spreadsheet-like tables in notes, plus an Excel viewer; searchable from Rich Search | Open in Obsidian |
| Rich Search |
Search: scope, regex, whole word, history Across files: finds text inside draw.io, Visio and PowerPoint files and marks the match when you open it |
Open in Obsidian |
Show draw.io, Visio and PowerPoint files right inside your notes. Zoom, pan, flip through pages, follow shape links. Word, CAD and more are on the list.
-->
rich-view code block. Insert an empty one and click Import file..drawio, .vsdx, .pptx.Insert an empty rich-view block, click Import file, pick a file. Done.
🎬 Demo GIF coming soon
Scroll to zoom, drag to pan, magnifier for small print. Pin to save the view.
🎬 Demo GIF coming soon
Slides and diagram pages switch with tabs.
🎬 Demo GIF coming soon
Click a file in the explorer. It opens full size.
🎬 Demo GIF coming soon
Search a word in Rich Search, click a result. The file opens at the right page, zooms in, and the match is marked.
🎬 Demo GIF coming soon
Hover a shape, click ✎ to add a link. Missing shape libraries download in one click.
🎬 Demo GIF coming soon
Put the file anywhere in the vault and embed it with a rich-view block. Easiest: insert an empty block and click Import file.
Or write it yourself:
```rich-view
file=my-diagram.drawio
```
Everything else is key=value, separated by |, in any order:
```rich-view
file=my-diagram.drawio|page=my_page|height=600|zoom=80|offset=190,34
```
| Key | Example | What it does |
|---|---|---|
file |
file=my-diagram.drawio |
Required. Vault path or bare name. |
page |
page=my_page |
Page by exact name (diagrams). Default: first page. |
page-index |
page-index=2 |
Page or slide by position, from 1. Ignored if page= is set. |
height |
height=600 |
Height in px. Default: 400. |
zoom |
zoom=80 |
Starting zoom in %. Default: auto-fit. |
offset |
offset=190,34 |
Starting pan position (diagrams). Default: centred. |
Click a .drawio, .vsdx or .pptx in the file explorer. It opens in a normal tab with the same zoom, pan and pages as the embedded viewer.
Don't want it? Turn a format off under Settings → Rich View → File tabs, e.g. if another plugin should open .drawio. Reload the plugin to apply.
With Rich Search installed, text inside your files is searchable like your notes:
| Format | What's searched | A result opens at |
|---|---|---|
| draw.io | Every shape's label, all pages | The page, shape marked |
| Visio | Every shape's text, all pages | The page, shape marked |
| PowerPoint | Every text box and table cell | The slide, keyword marked |
If a diagram uses extra libraries (AWS, Azure, GCP, Cisco, IBM...), a banner shows up the first time you open it. Click Download: the libraries come from draw.io's official repo and are kept locally for next time.
Settings → Rich View → Shape libraries lets you:
Under every viewer: page tabs on the left, the zoom level, then icon buttons on the right.
| Icon (hover for the tooltip) | What it does |
|---|---|
| 🔍 Magnifier | Toggle the magnifier (diagrams) |
| Auto-fit to viewer | Fit the whole page to the viewer |
| 📌 Pin current view | Save page, zoom and position into the code block |
| 📂 Switch to another file | Point this code block at another file |
| ↗ Open in external editor | Open in the system default app |
| ⤢ Fullscreen | Fill the screen (Esc to exit) |
| Drag the bottom edge | Resize the height |
| Gesture | Diagrams | Slides |
|---|---|---|
| Scroll wheel | Zoom (or Ctrl+scroll, see Settings) | Scroll |
| Ctrl + scroll | Zoom | Zoom |
| Drag | Pan | Scroll bars when zoomed in |
| Two-finger pinch | Zoom (touch) | — |
| Double-click | Back to the starting view | — |
Tip: get the view you want and click the pin icon. The code block updates, and the note opens on that view every time. After pinning, double-click goes back to the pinned view; click Auto-fit to viewer to start fresh, then pin again.
One slide at a time, with numbered tabs. The slide always fits, so shrink the height and it refits. Ctrl+scroll to zoom in, scroll bars to move around. No animations or transitions.
Hover a draw.io shape and click ✎ to link it to a note or a URL. Click the shape to follow the link (which click depends on Click behavior).
Click 🔍 for a loupe that follows the cursor. + / - resize it, the wheel still zooms. Esc or click elsewhere to exit.
Follows Obsidian's theme. Nothing to set up.
| Setting | What it does |
|---|---|
| Zoom modifier key | Zoom with plain scroll or Ctrl+scroll. |
| Click behavior | Plain click or Ctrl+click follows a shape link. |
| File tabs | Per format: open files in a Rich View tab. Reload the plugin to apply. |
| Custom library folder | A vault folder for your own shapes. |
| Shape libraries | Download official libraries, or auto-detect from the vault. |
Community plugins (recommended): Settings → Community plugins → Browse → search Rich View → Install → Enable.
Manual: download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/rich-view/.
Needs Obsidian 1.8.7 or newer.
.vsd..ppt.![[file.drawio]] embeds don't work. Use the code block.npm install
npm run dev # watch
npm test # unit tests
npm run lint
npm run build # type-check + production bundle
Read CLAUDE.md first: architecture, how tests are written, how to release.
A skill for AI coding agents (Claude Code, Cursor, Codex, Copilot and many more). Once installed, the agent can embed a diagram or deck in a note, switch its page, zoom and height, or point a block at another file, without you looking up the syntax.
# pick your agents interactively
npx skills add SdKay/obsidian-rich-view
# or for all your projects (-g), into one agent
npx skills add SdKay/obsidian-rich-view -g -a claude-code
# later, to pick up newer versions
npx skills update
Only the skill files are installed (three small Markdown files), not the plugin or this repo. Leave out -g to install into the current project only. By hand: copy the skills/obsidian-rich-view folder into your agent's skills folder.
Then ask your agent: "Embed system.drawio in this note, page Overview".
MIT © 2026 sdking.xing
Rich View is free and open source. If it saves you time, a donation helps keep it going.
| WeChat Pay | Alipay |
|---|---|
![]() |
![]() |
Thanks! 🙏
Bugs and ideas: GitHub Issues