What Developer Documentation Needs from Typography
Dev docs need three things from typography. First, body text that sustains long-form technical reading, with a tall x-height, open counters, and a 16px base size at a 1.6 line-height. Second, code blocks that stay sharp at 13px to 15px with consistent weight across syntax-highlight colors. Third, a type scale that anchors a page: H2 sections that lead the eye, H3 subsections that organize within sections, inline code that pops without breaking the line. Most dev docs sites use a sans-serif body and a monospace code font. A third font for headings is optional.