type Weight = 400 | 700; export function specimen(text: string, weight: Weight = 400) { return text .split("\n") .map((line, i) => `${String(i + 1).padStart(3, "0")} ${line}`); }02 · Typeface2026OpenSI Mono为代码设计的等宽体,包含 Regular 和 Bold 两个字重。