--- title: "Typography Sample" pubDate: 2026-11-02 category: tech tags: [test, hidden] # 排版/斜体/白名单测试样张(fix3 车道):hidden 不列出,构建与 E2E 验证用 draft: false locked: true --- This post verifies three things: inline italic rendering, the restricted typography-class whitelist, and caption classes. ## Italics (should stay inline: no line break, no centering) This sentence has *inline italic emphasis* set in the middle of the text; it must stay on the same line as the body text. *This whole paragraph is an italic standalone paragraph; it must not turn into a block-level centered element.* ## Restricted typography classes (whitelist) This run is ink-muted grey text. This run is in the LXGW WenKai type family. This run is in the monospace mono family.
Drop-cap paragraph: the autumn sea lies like a sheet of tin smoothed flat by the wind, and the setting sun has scorched a ring of red around its rim.
Dusk, so-called, is simply the light slowly admitting that it has to go.
## Whitelist stripping (illegal classes and inline styles must be removed) This run carries an illegal class, an inline color, and an onclick all at once; after the build only ink-2 should remain, with style/onclick gone. ## Captions (class-driven)This is the explicit caption style (fig-cap): centered, grey text.