Markdown Syntax - Complete Tutorial

Markdown Syntax - Complete Tutorial

Overview

Complete Tutorial Of Markdown Syntax

Markdown is a method of writting and representing data in a beautiful way. It's widely used for creating documentation, README files, Blogs, and other types of content on the web. In this tutorial, we'll cover the basic syntax of Markdown in simple words.

To create headings, use hash symbols (#). Use hash as per your heading level.

Markdown Synatx Example
Markdown Synatx Example

Surround the text with double asterisks or double underscores.

1**Bold Text**
2__Bold Text__    
Markdown

Output:

Bold Text Bold Text

Surround the text with single asterisks or single underscores.

1*Italic Text*
2_Italic Text_
Markdown

Output:

Italic Text Italic Text

Unordered Lists: Use asterisks, plus signs, or hyphens.

1* Item 1
2+ Item 2
3- Item 3
Markdown

Output:

  • Item 1
  • Item 2
  • Item 3

List with ordered elements: Use numbers for numbering element of list.

11. Item 1
22. Item 2
33. Item 3
Markdown

Output:

  1. Item 1
  2. Item 2
  3. Item 3

Create links by enclosing the link text in square brackets and the URL in parentheses.

1[Gitesh Wagh](https://www.giteshwagh.com)
Markdown

Output:

Gitesh Wagh

Insert images similarly to links, but with an exclamation mark in front.

1![Alt Text For Image](image.png)
Markdown

OR

1<img title="Markdown Synatx Example" alt="Markdown Synatx Example" src="/images/Image.png">
Markdown

Output:

Markdown Synatx Example
Markdown Synatx Example

Use the greater-than symbol for blockquotes.

1> This is a blockquote.
Markdown

Output:

This is a blockquote.

Inline code is wrapped in backticks.

1```inline code``` 
Markdown

Output -

1inline code
Markdown

For code blocks, use three backticks (```), optionally followed by the programming language.    

eg.

1def example():
2print("Hello, Markdown!")
python

Insert a horizontal rule with three hyphens, underscores, or asterisks.

1---
Markdown

OR

1***

OR

1___

To display special characters, use a backslash.

1\*Using Special Character\*
Markdown

Output: *Using Special Character*

Create tables using pipes and hyphens.

1| Heading 1 | Heading 2 |
2| --------- | --------- |
3| Content 1 | Content 2 |
Markdown

Output -

Heading 1 Heading 2
Content 1 Content 2
Markdown Synatx Example
Markdown Synatx Example
  1. Hugo : World's Fastest Framework For Website Building 🔥
  2. Why Kdenlive Is The Best Free Video Editor?
  3. Why Coding Will Become The Most Valuable Skill In The Future?