Markdown Superpowers
Discover all rich authoring capabilities in Zerho.
Markdown Superpowers #
Discover the rich authoring capabilities available in Zerho for technical documentation.
Polyglot Synchronized Code Groups (`::: code-group`) #
Group multi-platform installation commands or code examples with automatic client-side synchronization:
deno add jsr:@zerho/zerho
When the user picks pnpm or Deno, Zerho remembers this preference in localStorage and
updates every code group across the documentation instantly.
VitePress Callouts & GitHub Alerts #
Zerho supports standard callout containers:
Electric cyan container for general notes, context, or explanations.
You can embed inline code, bold text, and links inside any callout container.
Modifying runtime flags can change module resolution behavior in Deno 2.
Never expose sensitive credentials or private API keys in client-side code.
GitHub flavored alerts are also automatically mapped:
This alert was written using standard GitHub > [!NOTE] syntax.
Both > [!TIP] and > [!IMPORTANT] are supported interchangeably.
Native Mermaid Architecture Diagrams #
Render clean flowcharts and sequence diagrams without extra plugins:
sequenceDiagram autonumber actor Dev as Developer participant Web as Zerho Client participant Edge as Deno Deploy Edge Dev->>Web: Opens technical documentation Web->>Edge: Fetches pre-rendered HTML & sitemap Edge-->>Web: Serves ultra-fast page (0 node_modules) Dev->>Web: Clicks "Run in Deno Sandbox" Web-->>Dev: Executes TypeScript in client Web Worker
Declarative UI Components (`steps`, `tabs`, `cards`, `file-tree`) #
Build rich interactive layouts using pure Markdown containers:
Scaffold your docs
Run deno run -A jsr:@zerho/core/init to bootstrap your project in seconds.
Configure & theme
Customize brand colors, auto-sidebars, and plugins in zerho.config.ts.
⚡ **Sub-100ms Builds** | Native Deno 2 SSG engine with zero `node_modules`. |
🔌 **OpenAPI 3.1 Explorer** | Automatic `$ref` resolution and 5-language client snippets. |
Mathematical Formulas (LaTeX / KaTeX) #
Write inline equations like $f(x) = x^2 + 1$ or display math blocks rendered automatically via KaTeX: