Code-block

No highlighter registered in this preview — plain text + chrome only.

With language label

pnpm install
pnpm dev

TypeScript example

export function add(a: number, b: number): number {
  return a + b;
}

With line numbers

function greet(name) {
  return `Hello, ${name}!`;
}
console.log(greet("Malevich"));

Flat variant

.button {
  background: var(--color-accent);
  color: var(--color-ink-inverse);
}

Inverse variant

# Hello

A paragraph with *emphasis* and **bold**.

Opt-out of copy

Just plain text, no copy button.