Skip to content

Latest commit

 

History

History
76 lines (56 loc) · 2.5 KB

File metadata and controls

76 lines (56 loc) · 2.5 KB

Reader Feature Overview

This file is meant to exercise the Markdown viewer as a reader, not as a blog post. When you open it, check spacing, typography, tables, math, code blocks, and small interactive HTML elements.

What to verify

  • headings keep a clear visual hierarchy
  • inline code stays readable in both themes
  • task lists and nested bullets align cleanly
  • tables keep borders and spacing on narrow screens
  • block quotes do not collapse into the page background
  • code fences show language labels and copy affordances
  • footnotes render at the end instead of leaking raw syntax

Tip: switch between light and dark themes while this file is open. The goal is not perfect publishing output. The goal is calm, readable technical notes.

Reading checklist

  • Bold, italic, strike, and inline code
  • Ordered lists and nested bullets
  • Table layout
  • Footnotes
  • KaTeX inline math such as $E = mc^2$
  • KaTeX block math
  • HTML details block
  • Relative document links

Quick links

Feature matrix

Area What this sample checks Why it matters
Typography heading rhythm, paragraph width, quote contrast long docs must stay comfortable to scan
Structure lists, tables, horizontal rules README and ADR files lean on these heavily
Technical content math, code, inline tokens developer docs mix prose with symbols
Navigation relative links and footnotes repo docs should stay connected

Math block

$$ latency_budget = dns + tls + api + render $$

$$ \text{score} = 0.4 \cdot \text{readability} + 0.35 \cdot \text{contrast} + 0.25 \cdot \text{density} $$

Short code example

export function summarizeDocument(name: string, sections: number) {
  return `${name} contains ${sections} sections and is ready for review.`
}

Expandable note

Why keep this file small? A feature demo should be easy to skim. Once the viewer behavior feels right, larger docs such as release notes and runbooks cover the long-form reading case.

Footnotes

A realistic reader demo should not feel synthetic.1 Relative links are more useful than filler paragraphs.2

Footnotes

  1. The file exists to exercise common Markdown features without looking like generated noise.