Skip to main content
2 min read
Edit on GitHub

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
GLOBAL SELECTION SYNC

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:

INFORMATION

Electric cyan container for general notes, context, or explanations.

PRO TIP

You can embed inline code, bold text, and links inside any callout container.

WARNING

Modifying runtime flags can change module resolution behavior in Deno 2.

DANGER

Never expose sensitive credentials or private API keys in client-side code.

GitHub flavored alerts are also automatically mapped:

NOTE

This alert was written using standard GitHub > [!NOTE] syntax.

TIP

Both > [!TIP] and > [!IMPORTANT] are supported interchangeably.


Native Mermaid Architecture Diagrams #

Render clean flowcharts and sequence diagrams without extra plugins:

Diagrama Mermaid
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:

1

Scaffold your docs

Run deno run -A jsr:@zerho/core/init to bootstrap your project in seconds.

2

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:

$$\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}$$