Slash Menu
unlistedby AYK
Slash commands with icons for quick block insertion and clickable sortable tables.
Slash Menu
An Obsidian plugin that adds a slash command menu with icons for quick block insertion and makes markdown tables sortable by clicking headers.
Features
Slash Commands
Type / in the editor to open a command menu. Start typing to filter, use arrow keys to navigate, and press Enter to insert.
| Command | Shortcut | What it inserts |
|---|---|---|
| Heading 1 | /h1 | # |
| Heading 2 | /h2 | ## |
| Quote | /quote | > |
| Callout | /callout | > [!note] block |
| Code Block | /code | Fenced code block |
| Task List | /task | - [ ] |
| Table | /table | 2-column markdown table |
Each command shows a Lucide icon in the menu.
Sortable Tables
In reading view, click any table header to sort that column. Click again to reverse the sort order. Supports text, numbers, and dates.
Installation
From Community Plugins (recommended)
- Open Settings > Community plugins
- Search for Slash Menu
- Click Install, then Enable
Manual
- Download
main.js,manifest.json, andstyles.cssfrom the latest release - Create a folder at
<vault>/.obsidian/plugins/slash-menu/ - Copy the three files into that folder
- Enable the plugin in Settings > Community plugins
Settings
| Setting | Default | Description |
|---|---|---|
| Enable slash menu | On | Toggle the / command menu |
| Enable sortable tables | On | Toggle click-to-sort on table headers |
Development
npm install
npm run dev # watch mode
npm run build # one-off build
License
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.