Code with auto-scaling
The deck honours @auto-scaling code,math,fittingHeader from theme metadata. Long fenced blocks shrink to fit; KaTeX math blocks auto-scale.
import { regardAudit } from "@familiar/regard/audit"
const findings = regardAudit(document.body, {
surface: "site",
familiars: ["alder", "cairn", "cece", "wren"],
})
if (findings.errors.length > 0) {
throw new Error(formatFindings(findings))
}
Inline code lives in a soft card. Math: E=mc2. Display:
V(deck)=i=1∑n​cognitive loadi​attentioni​⋅retentioni​​