Markdown Bold and Italic: Asterisks and Underscores
Bold makes a word stand out; italic adds gentle emphasis. Wrap the words in two asterisks for bold or one for italic. Underscores do the same job.
The rule
Put two asterisks around bold words, or one around italic words. Underscores work too.
You type
**Bring water**
*Walk gently*You get
Bring water
Walk gently
Try it yourself
Make Ready to explore bold.
Live preview
More examples
You type
**Bring water** and *walk gently*.You get
Bring water and walk gently.
Bold and italic in one sentence.
You type
__Also bold__ and _also italic_You get
Also bold and also italic
The underscore versions.
Common mistakes
You type
** Bring water**Shows as
** Bring water**
A space just inside the asterisks stops it working. Keep the stars right next to the words.
You type
**Bring water*Shows as
*Bring water
The opening and closing marks must match: two and two, or one and one.
Where it works
Everywhere. Inside a word, use asterisks (un**believ**able); underscores inside words are ignored by GitHub.
Keep it, not just learn it
The full course has 22 skills on five islands, short Missions that check your answers, and reviews a few days later so it sticks. Free, no sign-up.