Skip to main content

Style cheat sheet

See the full style guide.

RuleDoDon't
Content typeOne page, one job (tutorial / how-to / reference / explanation)Tutorials with inline "alternatively…" branches
VoiceSecond person, active, present"The script should be run"
Person"You can…" framing"X allows users to…"
HeadingsSentence case, descriptive, no trailing colon"Overview", "Configuration:"
CommaOxford comma, always
SpellingAmericanorganise, behaviour
UI/files in stepsBold"quotes" or italics
Code, params, pathscode fontplain prose
Lists of factsTablesparagraph-form parameter lists
Numbered steps1. for every item in sourcehand-numbered 1. 2. 3.
NumbersSpell out one–nine; numerals 10+"10,000" spelled out
Admonitionsnote / warning / tip, sparingly, never a required stepstacked boxes
Em dashesAvoid; shorter sentences
FillerCut "simply", "just", "easy", "please"
Internal linksRelative, with .md, descriptive text"click here", bare URLs
TerminologyOAuth · Kroger API · kroger-api · access token · rate limit · ZIP codeOauth · Kroger api · ratelimit · zipcode
Objectives (tutorials)3–4, action verbs, measurable"understand X"
Knowledge checksScenario-shaped, consequence-narrating feedback, one objective eachtrivia recall, "Incorrect. Try again."
SectionsSelf-contained, first sentence says what it is"as mentioned above"
Code fencesComplete, runnable, language-taggedfragments with elided context