Readable Headings, Numbered Citations, and Art for Every Market Page
Articles now read in a proper type scale, citations show as [1], [2], [3] instead of hex codes, and all 49 market pages have banners and ledes.
Why Care?
Long articles were hard to scan. Body text was 14.4px with tight 1.3 line
spacing, so headings towered over it, and on pages that use # for sections the
section headings shrank to body size. Citations printed six-character hex codes
like [fh0on7], and on pages where a citation had lost its source, the raw
[^fh0on7] text showed mid-sentence.
What's New?
A relative type scale for every article. Body text is 18px (17px on phones) at 1.7 line spacing, and each heading level is 1.25× the one below (1.2× on phones). Page titles sit one step above section headings on every width. Follows astro-knots'
Relative-Type-Scale-for-LFM-Reading-Contentblueprint.Citations are numbered on render. Inline citations read
[1],[2]… in order of first appearance, and the Sources list uses the same numbers. The hex code stays in the markdown as the citation's identity, so reordering a page just renumbers.Every source still shows. Sources nothing cites are listed after the cited ones, and old
[2]: …source lines that used to run together in one paragraph are now separate numbered entries.Citations with no source go quiet. They render as a faded, unlinked
[?]instead of raw text. 111 content pages have these; the cleanup is tracked in cite-wide'sFootnote-References-Orphaned-From-Their-Definitionsissue.Market pages have art and ledes. All 44 Market Categories and five market maps gained Image-Gin banners and portraits, and every category card now opens with a one-line lede.
Under the Hood
src/styles/reader.cssis copied fromastro-knots/packages/lfm-astro/components/reader.css, with two marked additions for this site: a step forh1inside the body, and the title at r⁵.OneArticleOnPagewraps rendered markdown in.reader, gives the title.reader-title, and drops its old hand-typed rem sizes, which would have outranked the scale.remark-footnote-numbersfollows lfm'sremark-lfm-citationsconvention and runs afterremarkCitationsin all seven markdown pipelines. It keeps definitions where they are in the document and sorts each run of them by number.src/generated-contentmoves to3a2b04c8for the banners and ledes.
