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)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
29
archive/site/content/docs/typography/code.md
Normal file
29
archive/site/content/docs/typography/code.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
title: "Code"
|
||||
description: "Inline code and fenced code blocks in ASW."
|
||||
type: docs
|
||||
weight: 18
|
||||
date: 2026-04-11
|
||||
tags: ["typography", "code", "pre"]
|
||||
ai-disclosure: "generated"
|
||||
ai-model: "claude-sonnet-4-6"
|
||||
ai-provider: "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
|
||||
|
||||
<div data-demo>
|
||||
<p>Use <code>data-callout="tip"</code> to style a callout block, or <code>data-layout="docs"</code> for a sidebar layout.</p>
|
||||
<pre><code>/* 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></code></pre>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue