suzhan2k downloadsPreview docx/xlsx/pptx and 60+ code files (sql/java/py/js/ts/…). Zoom, edit & save, line numbers, XLSX tabs.
A plugin for Obsidian that previews docx / xlsx / pptx / code files directly in the editor. Supports syntax highlighting, zoom, inline editing, line numbers, and sheet tabs.
| Type | Capabilities |
|---|---|
| DOCX | Headings, tables, images, page-break separators, centered/right-aligned text |
| XLSX | Font color/size/bold, cell fill colors, merged cells, column widths |
| PPTX | Visual rendering with backgrounds, shapes, and text positioning — PDF-like output |
60+ developer file formats supported with preview and inline editing:
.txt .sql .java .py .js .ts .jsx .tsx .json .xml .yaml .yml
.properties .cfg .ini .sh .bat .cmd .ps1 .css .html .htm
.rst .tex .php .rb .go .rs .c .cpp .h .hpp .cs
.swift .kt .scala .groovy .pl .pm .lua .r .m .mm
.gradle .toml .conf .env .makefile .dockerfile .gitignore
.vue .sass .scss .less .styl .coffee .dart .erl .ex .exs
Syntax highlighting (highlight.js) · Line numbers · Edit & save · Ctrl+S shortcut · Zoom 25%–200%
Open Obsidian → Settings → Community plugins → Search Vault Lens → Install.
main.js, manifest.json, styles.css into .obsidian/plugins/vault-lens/git clone https://github.com/leo-su-zhan/obsidian-vault-lens.git
cd obsidian-vault-lens
npm install
npm run dev # watch mode
npm run build # production build
MIT