Refresh Table Numbers Plugin for Obsidian
A simple Obsidian plugin that refreshes sequence numbers in Markdown tables.
Features
- Refresh renumber tables: Refresh sequence numbers in table rows
- Add sequence columns: Insert a new sequence column to tables that don’t have one
- Customizable header: Configure the header text for the sequence column
- Alignment options: Choose between left, center, or right alignment for the sequence column

Usage
- Open a note with Markdown tables
- Press
Ctrl+P(orCmd+Pon macOS) to open the command palette - Type “Refresh Table Numbers” and select the command
Keyboard Shortcut
You can assign a keyboard shortcut to the “Refresh Table Numbers” command in Obsidian’s keyboard settings.
Settings
The plugin has the following settings:
Column Header
- Description: The header text for the sequence column
- Default: Empty (no header)
- Example values:
#,No.,序号
Alignment
- Description: Alignment for the sequence column
- Options: Left, Center, Right
- Default: Center
How It Works
The plugin processes tables in the following ways:
- Tables with empty first column: Adds or updates sequence numbers in the first column
- Tables with matching header: Updates sequence numbers in the column with the specified header
- Tables with different header: Inserts a new sequence column at the beginning with the specified header
It hasn’t been listed on the community plugin store yet because I don’t know how to upload it.