Markdown Quick Reference

Practical quick reference for rich markdown syntax used in this knowledge base.

#markdown#cheat-sheet#docs

Markdown Quick Reference

Core Frontmatter

title: Your Title
created: "2026-03-08T12:00:00+08:00"
updated: "2026-03-08T12:00:00+08:00"
topic: programming/example
tags: [example, notes]
status: evergreen
summary: one-line summary
  1. Use topic as a path (e.g. programming/rust/async).
  2. Keep tags compact and retrievable.
  3. Add at least one code block, one diagram, and one formula for technical notes.

Minimal Mermaid Template

graph TD
  A[Input] --> B[Transform]
  B --> C[Output]

Minimal Chart Template

{
  "type": "bar",
  "data": {
    "labels": ["A", "B", "C"],
    "datasets": [
      { "label": "Score", "data": [3, 7, 5] }
    ]
  }
}

Minimal Math Template

F(x)=xf(t)dtF(x) = \int_{-\infty}^{x} f(t)\,dt