Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Markdown rules

Code inside documentation is scored too, because README examples are what people copy.

RuleWhat it catches
fence-readabilityA cramped code example inside a fence
fence-without-languageA fence with no language tag
fence-language-unknownA fence naming a language monostyle does not know
prose-runA wall of prose with no structure to break it up
skipped-heading-levelA heading level that skips a step, breaking the outline
no-titleA document that does not start with a top-level heading

Why fences are scored differently from source

Complexity rules are deliberately excluded from fences. A documentation example often walks through a messy state on purpose, and penalizing it would push authors toward hiding the very complexity they are explaining. Only the layout rules apply, and their findings are mapped back to the Markdown file’s line numbers so a reader can jump to the exact fence.