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.
*This text is italic.*This text is italic.
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.
***This text is bold and italic.***This text is bold and italic.
**_bold italic_**bold italic
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.
_This text is also italic._This text is also italic.
un*believ*able vs un_believ_ableunbelievable vs un_believ_able
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.
# A *very* big dealA very big deal
[*Italic link*](https://example.com)> *Italics inside a quote.*Italics inside a quote.
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.
*italic text*italic text
Single asterisks render italic in standard Markdown and GFM-based platforms.
_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.
I *really* mean it, and <em>so does this</em>.I really mean it, and so does this.
Stress emphasis. This is the element *text* produces, so in Markdown files you rarely need to type it.
The ship was called <i>Endurance</i>.The ship was called Endurance.
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*Broken
**italic text**Fixed
*italic text*Broken
un_believ_ableFixed
un*believ*ableBroken
*italic textFixed
*italic text*Broken
*italic*more italic*Fixed
*italic* and *more italic*Quick Reference
| Syntax | Result | Notes |
|---|---|---|
| *text* | Italic | Most common syntax |
| _text_ | Italic | Underscore variant |
| ***text*** | Bold + italic | Three delimiters on each side |
| **_text_** | Bold + italic | Nested style, also valid |
| un*ital*ic | Italic part of a word | Asterisks only - un_ital_ic stays literal |
| _text_ (Slack) | Italic in Slack | Slack's *text* is bold |
| \*text\* | Literal *text* | Backslashes stop the italics |
| <em>text</em> | Italic | HTML 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.
| Platform | Supported? | Notes |
|---|---|---|
| GitHub | Yes | *text* or _text_ both render italic. ⌘I / Ctrl+I in the comment box. |
| GitLab | Yes | Same 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. |
| Discord | Yes | *text* for italic; **text** for bold. |
| Slack | Yes | _text_ in Slack's markup and API mrkdwn, where *text* is bold. *text* is italic only in Block Kit markdown blocks. |
| Notion | Yes | Typing *text* converts to italics as you type. ⌘I / Ctrl+I also works. |
| Obsidian | Yes | Renders single-asterisk italic in Live Preview and Reading view. |
| VS Code preview | Yes | Built-in preview supports standard italic syntax. |
| CommonMark | Yes | Emphasis is part of the CommonMark spec. |
| Docusaurus / VitePress / Astro | Yes | Core 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.