Skip to main content

Markdown Italics

How to italicize text in Markdown with *text*: bold italics, asterisks vs underscores, italics inside a word, platform quirks, HTML fallbacks, and the mistakes that leave asterisks on the page.

Short answer

Wrap the text in one asterisk on each side: *italic text*. One underscore works too (_italic text_), but not inside a word: un*believ*able italicizes the middle and un_believ_able doesn't. Three asterisks make bold italics (***text***). In Slack's markup a single asterisk means bold, so use underscores there.

Basic Syntax

Wrap the text in one asterisk on each side. The asterisk must touch the first and last character, with no space between the marker and the word. Markdown renders italics as the HTML <em> element.

Italic text
*This text is italic.*
Preview

Bold + Italic

Use three asterisks or three underscores around the text. You can also nest one style inside the other if you need to mix markers.

Triple asterisks
***This text is bold and italic.***
Preview
Nested bold + italic
**_bold italic_**
Preview

Asterisks vs Underscores

Markdown accepts both *text* and _text_. Around whole words they produce the same result. The difference shows up inside a word, where only asterisks work.

Underscore italic
_This text is also italic._
Preview
Italicizing part of a word
un*believ*able vs un_believ_able
Preview

CommonMark only lets _ open or close emphasis at a word boundary, so underscores between two letters are left alone. That rule is what keeps snake_case_names from turning italic, and it also means _my_file_name_ italicizes the whole name correctly.

Italics in Headings, Links, and Quotes

Italics work inside any other inline context: a heading, link text, a list item, or a blockquote. The one place they don't work is code, where asterisks and underscores are shown as typed.

Italics in a heading
# A *very* big deal
Preview
Italic link text
[*Italic link*](https://example.com)
Preview
Italics in a blockquote
> *Italics inside a quote.*
Preview

Some themes already set headings or quotes in italics, so italic text inside them can look unchanged. See the headings and blockquote guides for those elements.

Platform Variations

Most platforms use *text*. Slack is the main exception: its markup uses underscores for italic and a single asterisk for bold. See the Slack guide for which of its three formatting surfaces you are typing into.

Discord / Reddit / GitHub / Obsidian
*italic text*
How it looks in Discord / Reddit / GitHub / Obsidian

Single asterisks render italic in standard Markdown and GFM-based platforms.

SlackPlatform-specific
_italic text_
How it looks in Slack
italic text

Slack's markup uses underscores for italic and a single asterisk for bold, both in the message box and in API mrkdwn text. ⌘I / Ctrl+I also works in the composer.

HTML Fallback

Inline HTML works wherever the renderer allows it, which is useful inside HTML blocks where Markdown isn't parsed. Choose <em> for stress emphasis or <i> for titles, names, and foreign words that are italic by convention.

<em> tag
I *really* mean it, and <em>so does this</em>.
Preview

Stress emphasis. This is the element *text* produces, so in Markdown files you rarely need to type it.

<i> tag
The ship was called <i>Endurance</i>.
Preview

Text set apart from the prose without stress: titles, ship names, foreign words, technical terms.

Reddit, Slack, and Discord strip or ignore inline HTML, so these fallbacks only help in document-based renderers like GitHub, GitLab, Obsidian, VS Code, and static-site generators.

Common Mistakes

The most frequent ways italic formatting fails. Each row shows the broken version and the corrected one side by side.

Broken

* italic text *

Fixed

*italic text*
A space just inside the asterisks stops them from opening or closing italics. At the start of a line it is worse: "* " is a bullet-list marker, so this line renders as a list item.

Broken

**italic text**

Fixed

*italic text*
Double asterisks create bold, not italic. Use one asterisk or one underscore for italics.

Broken

un_believ_able

Fixed

un*believ*able
Underscores can't italicize part of a word: CommonMark ignores _ when it sits between two letters. Asterisks work mid-word. Whole words with underscores in them, like _my_file_name_, still italicize fine.

Broken

*italic text

Fixed

*italic text*
An unclosed asterisk doesn't italicize anything. It prints as a literal * and the rest of the line stays plain. Italics also stop at a blank line, so each paragraph needs its own pair.

Broken

*italic*more italic*

Fixed

*italic* and *more italic*
Asterisks pair up from left to right. The first two italicize "italic", and the third has no partner, so it prints literally. Give each italic span its own opening and closing marker.

Quick Reference

Markdown italic syntax variants and how each renders
SyntaxResultNotes
*text*ItalicMost common syntax
_text_ItalicUnderscore variant
***text***Bold + italicThree delimiters on each side
**_text_**Bold + italicNested style, also valid
un*ital*icItalic part of a wordAsterisks only - un_ital_ic stays literal
_text_ (Slack)Italic in SlackSlack's *text* is bold
\*text\*Literal *text*Backslashes stop the italics
<em>text</em>ItalicHTML semantic fallback

Platform Support

Italics are one of the most widely supported Markdown features. The variables are Slack, where a single asterisk means bold, and editors that don't parse typed Markdown at all.

Italic support in Markdown by platform
PlatformSupported?Notes
GitHubYes*text* or _text_ both render italic. ⌘I / Ctrl+I in the comment box.
GitLabYesSame as GitHub Flavored Markdown.
Reddit (www)Yes*text* in the Markdown editor. The default Rich Text editor and the mobile post composer use the toolbar instead.
Reddit (old)Yes*text* works in old Reddit's snudown parser.
DiscordYes*text* for italic; **text** for bold.
SlackYes_text_ in Slack's markup and API mrkdwn, where *text* is bold. *text* is italic only in Block Kit markdown blocks.
NotionYesTyping *text* converts to italics as you type. ⌘I / Ctrl+I also works.
ObsidianYesRenders single-asterisk italic in Live Preview and Reading view.
VS Code previewYesBuilt-in preview supports standard italic syntax.
CommonMarkYesEmphasis is part of the CommonMark spec.
Docusaurus / VitePress / AstroYesCore syntax in their Markdown and MDX parsers. No plugin needed.

Frequently Asked Questions

How do you italicize text in Markdown?

Wrap the text in one asterisk on each side: *italic text*. You can also use one underscore: _italic text_. Both render as italics in CommonMark, GitHub, Discord, Reddit, Obsidian, and most other Markdown renderers.

Is italic text part of standard Markdown?

Yes. Emphasis (italics) was in John Gruber's original Markdown and is part of the CommonMark specification. It uses single asterisks or single underscores, and renders as the HTML <em> element.

What is the difference between asterisks and underscores for italics?

Around whole words, *text* and _text_ produce the same italics. The difference is inside a word: un*believ*able italicizes the middle, while un_believ_able stays plain, because CommonMark ignores underscores that sit between two letters. That same rule is what keeps snake_case_names from turning italic.

How do you make text bold and italic in Markdown?

Use three asterisks or three underscores around the text: ***bold italic*** or ___bold italic___. You can also nest one style inside the other: **_bold italic_** or __*bold italic*__.

How do I italicize part of a word in Markdown?

Use asterisks: un*believ*able renders the middle in italics. A single underscore doesn't work mid-word (un_believ_able prints the underscores) because CommonMark only lets underscores open or close emphasis at a word boundary.

Is there cursive in Markdown?

Markdown's cursive-looking style is italics: *text*. There is no syntax for a handwriting or script font, because Markdown doesn't control fonts. The renderer's stylesheet decides how italics look.

Why does my italic text show as bold in Slack?

Slack's own markup uses a single asterisk for bold (*text*) and underscores for italic (_text_), both in the message box and in mrkdwn text sent through the API. Use underscores for italics in Slack. The exception is the Block Kit markdown block that apps can send, where *text* is italic as in standard Markdown.

Can I use HTML to italicize text in Markdown?

Yes. Use <em>text</em> for stress emphasis or <i>text</i> for text set apart without stress, such as titles or foreign words. These work in HTML-enabled renderers such as GitHub, GitLab, Obsidian, VS Code, and most static-site generators. They do not work in Reddit, Slack, or Discord, which strip or ignore inline HTML.

What is the difference between <em> and <i>?

Both render as italics by default. In HTML, <em> marks stress emphasis that changes the meaning of a sentence, and it is what Markdown's *text* produces. <i> marks text in an alternate voice or mood without stress: a ship name, a technical term, a phrase from another language, or a thought.

Why does my italic text show asterisks instead of italics?

The usual causes are a space just inside the markers (* text *), an unclosed marker (*text), underscores inside a word (un_believ_able), or a Rich Text editor that doesn't parse typed Markdown, such as Reddit's default composer. Make the markers touch the text, close every one, and use asterisks mid-word.

Is there a keyboard shortcut for italics?

Markdown itself is plain text, so the shortcut comes from the editor. ⌘I on Mac or Ctrl+I on Windows applies italics in GitHub's comment box, Notion, and Slack, and Obsidian documents ⌘I on Mac.