Slash Menu

unlisted

by AYK

Slash commands with icons for quick block insertion and clickable sortable tables.

Updated 1mo agoMIT
View on GitHub

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.

CommandShortcutWhat it inserts
Heading 1/h1#
Heading 2/h2##
Quote/quote>
Callout/callout> [!note] block
Code Block/codeFenced code block
Task List/task- [ ]
Table/table2-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)

  1. Open Settings > Community plugins
  2. Search for Slash Menu
  3. Click Install, then Enable

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Create a folder at <vault>/.obsidian/plugins/slash-menu/
  3. Copy the three files into that folder
  4. Enable the plugin in Settings > Community plugins

Settings

SettingDefaultDescription
Enable slash menuOnToggle the / command menu
Enable sortable tablesOnToggle click-to-sort on table headers

Development

npm install
npm run dev    # watch mode
npm run build  # one-off build

License

MIT

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.