Reading rhythm

Typeset styles everything inside the container, so rendered markdown needs no per-element classes. Headings, lists, tables, and code all derive their spacing from three values.

  • Size sets the base text size.
  • Leading sets the space between lines.
  • Flow sets the space between blocks.

Everything else follows from those three.

Inline elements come along for free: bold, italic, links, and inline code.