Markdown Italics: *Asterisks* vs _Underscores_, and What Each Platform Accepts

Italics in Markdown are *text* or _text_. They differ inside words, Slack and WhatsApp only take underscores, and a space after the marker breaks it. Syntax, platform table and fixes.

To italicize text in Markdown, put one asterisk or one underscore on each side:

*This is italic.*
_This is italic too._

This is italic.

Both produce the same <em> element. They are not fully interchangeable though, and the differences are what usually sends people looking for this page.

Asterisk or underscore?

*text* _text_
Whole words and phrases Works Works
Part of a word (un*believ*able) Works Does not work
Names with underscores (snake_case_name) Not affected Left alone, by design
Slack and WhatsApp Means bold there Italic

The underscore rule exists so that my_file_name.txt does not turn into "myfilename.txt". CommonMark only treats an underscore as emphasis when it sits at the edge of a word. If you need to italicize a fragment inside a word, use asterisks:

un*believ*able   -> works
un_believ_able   -> stays literal

A reasonable habit: use asterisks everywhere in Markdown files, and remember underscores for chat apps.

Italics syntax by platform

Platform Italic syntax Notes
GitHub, GitLab, Reddit, Obsidian *text* or _text_ Standard behavior
Discord *text* or _text_ __text__ is underline in Discord, not bold
Notion *text* or _text_ while typing Or Cmd/Ctrl + I
Slack _text_ *text* is bold in Slack
WhatsApp _text_ *text* is bold
Jira and Confluence wiki markup _text_ *text* is bold
HTML <em>text</em> <i> also displays italic but carries no emphasis meaning
LinkedIn posts, X, bios none No Markdown. See the workaround below

Three of the most used work tools (Slack, WhatsApp, Jira) read a single asterisk as bold. If you write in Markdown and paste into them, convert first: Markdown to Slack and Markdown to Jira rewrite the markers for you.

Why your italics are not rendering

What you typed What happens Fix
* text * Literal asterisks, or a bullet list if it starts the line Remove the spaces inside the markers
*text * Literal asterisks The closing marker must touch the last character
file_name_v2 with a missing italic Underscores inside words are ignored Use asterisks
*text across a blank line text* Literal asterisks Emphasis cannot span paragraphs. Mark each paragraph
2 * 3 * 4 shows fine, 2*3*4 italicizes the 3 Asterisks touching characters are emphasis Escape them: 2\*3\*4, or use code: `2*3*4`
Italic inside a code block Shown literally Code blocks never format. Move the text out

A line that begins with * (asterisk, space) is a list item. That is the most common accident: someone types * note: check this * and gets a bullet with a stray asterisk at the end.

To show a literal asterisk or underscore, put a backslash before it: \*not italic\*.

Combining italics with bold and other formatting

***bold and italic***
**bold with *italic* inside**
*italic with **bold** inside*
~~*struck and italic*~~
[*italic link text*](https://example.com)

Three markers give bold italic. When nesting, mixing the two characters is easier to read and less likely to confuse a parser: **bold with _italic_ inside**.

Italics work inside headings, list items, table cells and block quotes. They do not work inside inline code or fenced code blocks.

Italics where Markdown is not supported

LinkedIn posts, X posts, Instagram bios and most form fields show asterisks literally. The only way to get italic-looking text there is to use Unicode's italic letters, which are separate characters and not formatting:

  • The italic text generator converts a phrase and lets you copy it.
  • Markdown has no cursive or script style. For script letters (π’žπ“Šπ“‡π“ˆπ’Ύπ“‹β„―) in a bio or caption, use the cursive text generator.
  • The LinkedIn text formatter takes a whole draft written in Markdown and converts *italic*, **bold** and bullets in one pass.

Use this sparingly. Screen readers often read those characters badly, and search does not match them against normal letters.

Semantics: emphasis versus titles

Markdown italics always become <em>, which means stress emphasis. That is right for "I never said that". For a book title or a foreign phrase, HTML has <cite> and <i>, and you can write those directly in Markdown where HTML is allowed:

I just finished <cite>The Mythical Man-Month</cite>.

Most readers will never notice the difference. It matters if your content is read by screen readers or processed by other tools.