Snippets

Reusable Markdown blocks with editor completion.

Snippets preview

  • Plugin ID: me.kumbuka.snippets
  • Source version: 1.2.1
  • Permissions: None

Source · Releases · Installation

Snippets provides reusable Markdown blocks through {{snippet:name}} macros.

Usage

Create snippets from Administration → Plugins → Snippets. Each snippet has a stable name, optional description, and Markdown content.

{{snippet:deployment-warning}}

The editor includes stored snippets in {{ completion and slash-command results.

Snippet content is inserted once and is not recursively evaluated as more plugin macros. This keeps reusable content predictable and prevents a stored snippet from unexpectedly invoking Variables, Includes, or another content plugin.

Fenced code blocks keep snippet syntax literal.

Visual editor

In Visual mode, snippet macros render as compact Snippet references. Select a reference to edit the snippet name while preserving the underlying macro.