Margin Sidenotes, Indexes, and Slow Reading

·1 MIN READ·EN中文
Starter Example (Replaceable)

This essay is a replaceable starter example paired via translationKey: welcome-slow-reading with its Chinese counterpart, demonstrating margin sidenotes, Obsidian syntax, KaTeX math, and trilingual cross-linking.

Reading a dense essay shares a quiet rhythm with reading the night sky: your eye settles on one bright star first, then follows faint lines toward its neighboring constellation. Margin annotations work the same way—when a sentence calls for provenance or side context, your glance moves sideways rather than losing its place at the bottom of the page.

In Building rinshiu.com from Scratch, I wanted the homepage sky dome to recede gently into a calm horizon banner once you enter an essay, leaving the stage to clear, low-glare typography suited for unhurried reading.

Math, Code, and Private Draft Safety

Formulas and code blocks render statically at build time with bundled KaTeX fonts and dual light/dark Shiki themes, adapting smoothly across Dawn, Daylight, Twilight, and Midnight:

Distance Modulus: m−M=5log⁡10(d)−5\text{Distance Modulus: } m - M = 5 \log_{10}(d) - 5
TS
export function skyFromLocalHour(hour: number): 'dawn' | 'daylight' | 'twilight' | 'midnight' {
  if (hour >= 5 && hour < 7) return 'dawn';
  if (hour >= 7 && hour < 17) return 'daylight';
  if (hour >= 17 && hour < 20) return 'twilight';
  return 'midnight';
}

DISCUSSION · GISCUS

Powered by OyatsuSuki/rinshiu-comments; automatically syncs with sky tone and interface language.

Loading GitHub Discussions comments via Giscus...