asw/archive/site/content/docs/typography/code.md
exe.dev user e47a9f4401 asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/
- 2.2: site/ -> archive/site/
- 2.3: src/lab/ -> archive/lab/
- 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
2026-06-07 10:39:21 +02:00

859 B

title description type weight date tags ai-disclosure ai-model ai-provider
Code Inline code and fenced code blocks in ASW. docs 18 2026-04-11
typography
code
pre
generated claude-sonnet-4-6 Anthropic

Inline <code> uses a monospace font with a subtle background tint. Block-level <pre><code> gets a full-width container with padding and horizontal scroll for long lines.

Inline Demo

Use data-callout="tip" to style a callout block, or data-layout="docs" for a sidebar layout.

/* Minimal ASW page */
<!doctype html>
<html lang="en">
<head>
  <link rel="stylesheet" href="asw.css">
</head>
<body>
  <main><article>Hello, ASW.</article></main>
</body>
</html>