Javatpoint Logo
Javatpoint Logo

Bold in Markdown

The bold command is used to bold the text, and it is similar to the bold in Microsoft word and other text formatting documents. We can use the bold command for single words, multiple words, sentences, paragraphs, etc., depending on the formatting style for the document.

In Markdown, any text inserted between the two double asterisks (**) appears as bold at the output.

For example,

Output:

Text

The two asterisks should appear at the beginning and at the end. Otherwise, the output may not be the desired bold text.

Note: There should be no space between the two asterisks and the text. All the asterisks and the text should be written without any space. Otherwise, the asterisks will be considered as the text by default.

Examples

Let' discuss two examples based on bold in Markdown.

Example 1:

The Markdown command to bold the text is as follows:

Output:

The purpose of living is to have a healthy, happy, and a cheerful life.

Example 2:

Output:

Markdown is a plaintext language, which is simple and easy to learn.






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA