Slash Kit

platejs.org/view/slash-command-demo
Live demo

Installation

No MCP yet? Connect your agent.

Features

  • Quick access to various editor commands
  • Triggered by / character
  • Keyboard navigation and filtering
  • Customizable command groups and options

Usage

How to use slash commands:

  1. Type / anywhere in your document to open the slash menu
  2. Start typing to filter options or use arrow keys to navigate
  3. Press Enter or click to select an option
  4. Press Escape to close the menu without selecting

Available options include:

  • Text blocks (paragraphs, headings)

  • Lists (bulleted, numbered, to-do)

  • Advanced blocks (tables, code blocks, callouts)

  • Inline elements (dates, equations)

    Use keywords to quickly find options. For example, type '/ul' for Bulleted List or '/h1' for Heading 1.

Related items

Requires