How to Bold Text in Markdown (and Why It Fails in Slack, Jira and Mid-Word)

Bold in Markdown is **text** or __text__. Learn the spacing and underscore rules that break it, the single-asterisk syntax in Slack and Jira, and how to bold inside tables and headings.

Bold in Markdown is two asterisks or two underscores around the text:

**This text is bold**
__This text is also bold__

This text is bold

Both are valid in CommonMark and GitHub Flavored Markdown. Most style guides pick asterisks, and there is a practical reason, covered below.

Bold, italic and both

You want Write Result
Italic *text* or _text_ text
Bold **text** or __text__ text
Bold and italic ***text*** text
Bold inside italic *italic and **bold** inside* italic and bold inside

Bold inside a word

Asterisks work in the middle of a word. Underscores do not, in CommonMark and GitHub:

un**frigging**believable   <- works
un__frigging__believable   <- shows literal underscores

This is the main reason to prefer **. It also protects you from identifiers: snake_case_name is not turned into italics by CommonMark, but some older parsers will do it, so asterisks are the safer habit when writing about code.

Why bold sometimes does nothing

Almost every failure is one of these:

  1. Spaces inside the markers. ** text ** is literal. The opening ** must touch the first character and the closing ** must touch the last.
  2. A line break inside. Bold does not carry across a blank line, so a bold sentence broken over two paragraphs needs markers in each.
  3. Punctuation next to the markers. The rules about what counts as an opening or closing marker depend on the characters on each side. If **"Quoted"**text misbehaves, add a space or restructure the sentence.
  4. The platform is not using Markdown. See the next section.
  5. Escaped characters. A leading backslash (\**text**) turns the first asterisk into a literal. To show asterisks in text, escape them: \*not bold\*.

Bold syntax on other platforms

Platform Bold syntax
GitHub, GitLab, Reddit, Discord, Obsidian, Notion **text**
Slack (mrkdwn) *text* (single asterisks)
Jira and Confluence wiki markup *text*
HTML <strong>text</strong> (or <b>)
Google Docs **text** or __text__ once Tools > Preferences > Enable Markdown is on (details)
Microsoft Word not Markdown, use the formatting toolbar

The Slack and Jira difference is the one that bites: single asterisks mean italics in standard Markdown but bold in those two. If you write in Markdown and publish to either, convert instead of editing by hand with the Markdown to Slack formatter or the Markdown to Jira converter.

All of these work:

## A **bold** word in a heading

[**Bold link text**](https://example.com)

- **Term:** definition
- Another item with a **bold** phrase

| Column | Notes |
|---|---|
| **Required** | Must be set |

Heading text is already bold in most themes, so bolding a whole heading adds nothing. In lists, the **Term:** definition pattern is a good way to make a scannable list.

Bold in generated HTML and documents

If you need the output as something other than Markdown, the same syntax converts cleanly: Markdown to HTML produces <strong>, and Markdown to Word produces real bold runs in the document. For text pasted from an AI chat that is full of stray asterisks, Markdown to plain text strips them.

Use bold sparingly

Bold is for the one thing a skimming reader must not miss. If a paragraph has five bold phrases, none of them stand out. A common pattern is bold for UI labels and warnings, code for literal values, and italics for emphasis and new terms.

Other text formatting references: strikethrough, italics, underline, text color and the full Markdown cheat sheet. To test any of the examples above, paste them into the live preview editor.