---
title: "Markdown editor (CodeMirror, slash commands)"
description: "A CodeMirror-based source markdown editor with a slash-command palette that auto-inserts custom syntax."
category: "Content, Blog & Desk"
---

# Markdown editor (CodeMirror, slash commands)

> Generated from `mcp/patterns.registry.json` — do not edit by hand; change the registry and run `bun run patterns:build`.

_Index card — the docs below are the canonical explanation; deep-tier pattern pages additionally carry invariants and emulation notes._

**Category:** Content, Blog & Desk · **Tier:** light · **Risk:** low — frontend only

A CodeMirror-based source markdown editor with a slash-command palette that auto-inserts custom syntax.

**When to use:** Use when authoring or editing markdown content that relies on the project's custom directive syntax.

## Docs

- `docs/blueprint/blog.md` ([GitHub](https://github.com/ApeDevil/v10r/blob/main/docs/blueprint/blog.md) · [GitLab](https://gitlab.com/ApeDevil/v10r/-/blob/main/docs/blueprint/blog.md))

## Code

- `src/lib/components/editor/` ([GitHub](https://github.com/ApeDevil/v10r/tree/main/src/lib/components/editor) · [GitLab](https://gitlab.com/ApeDevil/v10r/-/tree/main/src/lib/components/editor))

---

_Machine-readable record: `content-markdown-editor` in `mcp/patterns.registry.json`._
