vmsimab2k downloadsCreate and edit enhanced tables within native Markdown documents, featuring unique functions such as cell merging. Convert between Markdown and HTML formats whilst ensuring a smooth editing experience
English | 中文
Enhanced editable tables for Obsidian. Create tables inside a ```vtable code block, edit cells directly in Live Preview, and go far beyond what native Markdown tables can do: in-cell line breaks, merged cells, Excel-style formulas, and even checkable task lists that native tables can't hold — plus images, math, charts, and one-click export.
Built to be beautiful out of the box: a clean, minimal design with theme-aware colors, and highly customizable — per-table line styles, zebra striping, header colors, cell alignment and background colors, all adjustable to match your vault.
Works on desktop, iPad, and mobile.
Anything you type in a cell renders on blur, exactly like Obsidian preview:
**bold**, *italic*, ==highlight==, ~~strikethrough~~, `code`, [links](url)![[image.png]] and ![[image.png|300]] — grab an image's corner handle while editing to resize it; the width syntax updates automatically$E=mc^2$- [ ] / - [x] — click the checkbox in preview mode and the source updates+ bar appears at the table's bottom/right edge — click it to add a row/columnCtrl/Cmd+Shift + click to start a selection, drag for a rubber-band rangeShift+click adds it to the selectionCtrl/Cmd+Delete deletes the rows/columns of a full-row or full-column selection1↑↓ (↑ descending, ↓ ascending; 2 sorts before 10)AZ (A to Z / Z to A; case-insensitive English, pinyin order for Chinese)1↑↓ single step — executes immediately on click↑↓→) → 1st text (AZ→) → 2nd number → 2nd text… until both sequences end; when the two sequences have different lengths, each extra group is its own step. Each step re-sorts by that step's key only and overrides the previous result; → skips the step香蕉3个 / 苹果5个 takes 2 steps (numbers 3/5 → texts 香蕉个/苹果个; a single-number cell's surrounding text counts as one); A2Z7 / 是3C4 takes 4 steps (2/3 → A/是 → 7/4 → Z/C); A2Z7M / 是3C4N takes 5 steps (the extra trailing M/N is its own step)n/m step counter before the marker (e.g. A2Z7M / 是3C4N shows 1/5 … 5/5)A1 — A puts pure text first, 1 puts pure numbers first; only groups are ordered, ties inside a group keep their original order, blanks always lastShift to process several columns, releasing it executes them together in one commit; non-rectangular selections are split per column and only the covered cells of each column are swapped; clicking with merged cells in range shows a hintCopy a rectangular region as a Markdown table, and paste any Markdown table back into the grid — across tables, notes, and even other apps:
Ctrl/Cmd+C copies the region as a standard Markdown table (| a | b | with a separator row)Ctrl/Cmd+V a Markdown table: it is written into the grid with the clicked cell as the top-left corner. Existing content is overwritten; anything beyond the current rows/columns is dropped (no rows or columns are added)Ctrl/Cmd+Alt+V pastes the same way but extends the table with whole rows/columns to fit the clipboard contentSelect a cell, grab the small triangle that appears at its bottom-right corner, and drag along a row or column:
Item 1, Item 2, …)星期一… / Monday…), months (一月… / January…) repeat in loops; dates advance by the real calendar with leap years respected2027年2月28日, 2027-02-28, 2027/2/28, 2027.2.28, 2/28, 02-28 (a first number above 12 is read day-first, e.g. 28/2), March 1, Mar 1, 1 March, March 1, 2027, 1 March 2027; year-carrying dates use the date's own year for leap-year handling and roll over across New Year — no 2月29日 in non-leap years, and the year increments after 12月31日; yearless ones cycle on the current year's calendar; fills preserve the input's writing style (separator, zero padding, full/abbreviated month names, comma)The Diagonal split cell command draws a top-left → bottom-right diagonal in the focused (or selected) cell and splits it into two single-line input areas — upper-right and lower-left. If a cell already contains text, it moves to the lower-left area. Press Enter or arrow keys to jump between the two areas and out of the cell.
Beyond the corner radius and header background, each table can take one of three line-style presets, plus zebra stripes:
Presets apply to the whole vault via Settings, or per table with the Table style call, Remove table styles, and Zebra stripe style commands (per-table overrides are stored with the table). Styles are display-only: cells return to their raw look while you are editing them.
Switch anytime from the mode buttons above the table; the choice is stored per table.
Start a cell with =FUNC(range) and it shows the computed result; focus the cell again to edit the original formula. Supported functions:
=SUM(A1:A5) =AVERAGE(B1:B3) =COUNT(C1:C9) =MIN(A1:A9) =MAX(A1:A9)
Turn table data into SVG charts that follow dark/light themes:
vbarchart bar charts, vpie pie charts, vline line chartsy范围 entries (e.g. 0-3 and 1-5 → 0-5); the title and x/y axis names come from the leftmost segment. The table is a vertical merge where each segment occupies two columns (left = type/labels, right = values): declare the type (vbarchart/vline, any count) in each segment's left column on the first row, then fill config rows (y范围 / y can be shared side by side across segments) and data rows (label|value) in each segment's own two columns, with the v% row at the very bottom. There is no ready-made combo template — build one by moving rows from the single-chart tablesTables live inside a ```vtable code block and serialize to JSON, so everything survives round-trips:
rs/cs (row/column span) and optional alignment and background color<br>=SUM(A1:B2)) and evaluate at render timeThe following shortcuts and gestures are built in and work out of the box (no configuration needed).
| Action | Shortcut |
|---|---|
| Drag-select a cell range | Ctrl/Cmd+Shift + drag |
| Select (or add to selection) a single cell | Ctrl/Cmd+Shift + click |
| Select the whole row / column | Click the row number / column label (RC mode) |
| Add rows / columns to the selection | Shift + click the row number / column label |
| Clear the selection | Plain click outside it |
| Select all text in a cell, then turn it into a selection | Ctrl/Cmd+A |
Sort a selected column (numbers 1↑↓ / text AZ / number + text per-sequence steps ↑↓→·AZ→ / blended A1; every step re-sorts independently and applies immediately, → skips) |
Click the sort marker above the column after box-selecting |
| Sort several columns in one commit | Hold Shift while clicking each marker |
| Copy the selection as a Markdown table | Ctrl/Cmd+C |
| Paste a Markdown table (overwrite from the focused cell) | Ctrl/Cmd+V |
| Paste a Markdown table and extend rows/columns as needed | Ctrl/Cmd+Alt+V |
| Clear the content of selected cells | Backspace / Delete |
| Delete the full rows / columns of the selection (non-full selections only get a hint) | Ctrl/Cmd+Delete (Cmd+Backspace on Mac keyboards) |
| Delete the current row (macOS / iPad Magic Keyboard) | Cmd+Backspace |
| Next / previous cell | Tab / Shift+Tab |
| Move between cells (symmetric landing points) | ↑ ↓ ← → |
All commands can be bound to custom hotkeys in Obsidian settings, including create, conversions, chart generation, styling, diagonal split, and mode switching. "Undo last in-cell edit" ships without a default hotkey — bind it freely in the Hotkeys settings.
A two-row toolbar appears next to the focused cell: bold, italic, font size, merge/split, add/delete rows and columns, and one-click export. It can be enabled separately for desktop and mobile.
Quick access to insert/delete rows and columns, merge and split cells, copy / paste / cut / delete, and mode switching.
The context menu is fully customizable in Settings → vtable → 右键菜单自定义 (Context menu customization):
--- inserts a separator line; cmd:commandId inserts any Obsidian command; append |iconName (a Lucide icon name) to override an item's icon.vt.copy, vt.paste, vt.cut, vt.delete, vt.clearContent, vt.bold, vt.italic, vt.strike, vt.underline, vt.highlight, vt.subscript, vt.superscript, vt.code, vt.clearFormat, vt.alignL, vt.alignC, vt.alignR, vt.alignT, vt.alignM, vt.alignB, vt.pickColor, vt.insRowAbove, vt.insRowBelow, vt.delRow, vt.insColLeft, vt.insColRight, vt.delCol, vt.mergeRight, vt.mergeDown, vt.split, vt.modeOL, vt.modeHS, vt.modeRC.Ctrl/Cmd+P), or convert an existing Markdown/HTML table with Convert to vtableOpen Settings → Community plugins → Browse in Obsidian, search for Vtable, and install. Updates are delivered automatically through Obsidian.
https://github.com/Ming145/Vtablemain.js, styles.css, and manifest.json from the latest Release.obsidian/plugins/vtable/ in your vaultgit clone https://github.com/Ming145/Vtable
cd Vtable
npm install
npm run build
Then copy main.js, styles.css, and manifest.json into .obsidian/plugins/vtable/.
Want an AI assistant (Claude, ChatGPT, …) to write Vtable source code for you? A ready-made skill covering the full source syntax — JSON schema, merged cells, line breaks, formulas, styles, charts and more, all with copy-paste examples — is available at vtable-syntax.
This plugin has no affiliation with, and is not related to ByteDance's VTable (VisActor) in any way. The "V" in "Vtable" is merely a prefix from our own plugin series naming and carries no meaning of its own.