> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Adding Bold and Italic Text in Markdown
- URL: https://itsfoss.com/markdown-bold-italic/
- Published: 2023-02-07T10:37:45.000Z
- Updated: 2025-08-04T13:38:23.000Z
- Description: Learn how to emphasize text in Markdown by adding bold and italics texts.
- Author: Abhishek Prakash
- Tags: Markdown

Want to put emphasis on some text? Make it bold. Or, italicize the text or underline it. 

The choice is yours and Markdown gives you the ability to employ all these text decoration.

You can use asterisk (\*) or underscore (\_) for this purpose: 

| Syntax       | Description     |
| ------------ | --------------- |
| \*\*text\*\* | For bold text   |
| \*text\*     | For italic text |
| \_\_text\_\_ | For bold text   |
| \_text\_     | For italic text |

Let's see in details.

## Add bold text in Markdown

As I showed above, there are two ways to add bold text in Markdown. You add asterisks (\*\*) or two underscores (\_\_) before and after the text you want highlight in bold. I advise using asterisks because underscores need a space before and after. 

Let me show that with examples.

To highlight any text in bold, just add \*\* before and after it. The markdown text below

```
This is **bold** text
```

is rendered as:

This is **bold** text

The same works with ths use of double scores as well. However, the double asterisks can be used to highlight letters inside a word but it doesn't work with underscores. 

This screenshot shows it better. Enlarge the image and check the rendered text on the right.

![Bold text example in Markdown](https://itsfoss.com/content/images/2023/02/markdown-bold-text.png)

Markdown bold text examples (click to enlarge)

## Add italic text in Markdown

Similar to bold text, you use asterisk and underscore for italic text as well. The only difference is that you use single asterisk and underscore for italicizing the text.

Let me show it with examples.

To highlight any text in italics, just add \* before and after it. The markdown text below

```
This is *italic* text
```

is rendered as:

This is *italic* text

Like bold text, underscores cannot be used to italicized text inside a word as it needs white space before and after.

This screenshot shows it better. Enlarge the image and check the rendered text on the right.

![Italic text example in Markdown](https://itsfoss.com/content/images/2023/02/markdown-italic-text.png)

Markdown italic text examples (click to enlarge)

📋

As you can see, using \* is better because it can work even if it is not preceeded with a space. The underscores don't work without proper spacing.

## What about underscores?

Bold, italics and underscores are often grouped together. However, the classic Markdown doesn't have any syntax for adding underscore text.

Keep forgetting the [Markdown syntax](https://itsfoss.com/markdown-guide/)? Use this cheat sheet:

[Download Markdown Syntax Cheatsheet](https://itsfoss.com/content/files/2023/01/Markdown-Cheat-Sheet.pdf)

Or, this guide:

[Basic Markdown Syntax Explained \[With Free Cheat Sheet\]Learning markdown could help you a lot with writing for web. Here’s a complete beginner’s guide to Markdown syntax with downloadable cheat sheet.![](https://itsfoss.com/content/images/size/w256h256/2022/12/android-chrome-192x192.png)It's FOSSBill Dyer![](https://itsfoss.com/content/images/wordpress/2021/04/markdown.png)](https://itsfoss.com/markdown-guide/)

I hope enjoy this quick Markdown tip.