Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)
All skills

readable-measure

Set a text column's max-width so body copy stays within a comfortable 45–75 characters per line.

When to use it

You have body text stretching across a wide desktop container and need to decide how wide the reading column should be.

For example

You say

Use readable-measure to set the line length for the article body on my blog's desktop layout, currently full-width at 18px Georgia.

You get
  • max-width value in ch
  • per-breakpoint column widths
  • line-height adjustment

How it works

  • Gives target character ranges by context, such as 55–70 for long-form articles and 40–60 for captions.
  • Notes that the ch unit is approximate, so counting characters in a real paragraph validates the setting.