Skip to content

Markdown Formatting

A comprehensive guide to Markdown formatting, covering essential Markdown syntax and features.

📝 Headings

Use # symbols to create headings of different levels.

# H1 Heading
## H2 Heading
### H3 Heading
#### H4 Heading
##### H5 Heading
###### H6 Heading



✍️ Text Formatting

Style text using bold, italic, strikethrough, or a combination.

**Bold Text**  
*Italic Text*  
~~Strikethrough~~  
**_Bold & Italic_**  

OUTPUT

Bold Text
Italic Text
Strikethrough
Bold & Italic



📋 Lists

Unordered List

Create bulleted lists using - or *.

- Item 1
- Item 2
    - Sub-item 1
    - Sub-item 2

OUTPUT

  • Item 1
  • Item 2
    • Sub-item 1
    • Sub-item 2

Ordered List

Use numbers for ordered lists.

1. First item
2. Second item
    1. Sub-item
    2. Sub-item

OUTPUT

  1. First item
  2. Second item
    1. Sub-item
    2. Sub-item



💬 Blockquotes

Use > to create blockquotes for emphasis or citations.

> This is a blockquote.  
> It can span multiple lines.

OUTPUT

This is a blockquote.
It can span multiple lines.



➖ Horizontal Rule/Line

Use ---, ***, or ___ to insert a horizontal line.

---
***
___

OUTPUT






Create clickable hyperlinks using [text](URL).

[Visit MkDocs](https://www.mkdocs.org)

OUTPUT

Visit MkDocs



🖼️ Images

Embed images using ![Alt Text](Image URL).

![Alt Text](https://via.placeholder.com/150)

OUTPUT

Alt Text



📊 Tables

Organize data using pipes | and hyphens -.

| Name  | Age |  Country |
|-------|----:|----------|
| Alice |  25 | USA      |
| Bob   |  30 | Canada   |

OUTPUT

Name Age Country
Alice 25 USA
Bob 30 Canada



💻 Code Blocks

Basic Code Block

Wrap code snippets inside triple backticks.

    ```py
    print("Hello, World!")
    ```

OUTPUT

print("Hello, World!")


With Language Syntax Highlighting

Specify the programming language for syntax highlighting.

    ```python
    def greet(name):
        return f"Hello, {name}!"
    ```

OUTPUT

def greet(name):
    return f"Hello, {name}!"


Inline Code

Use backticks to insert inline code within text.

Use `print("Hello, World!")` inside a sentence.

OUTPUT

Use print("Hello, World!") inside a sentence.



✅ Task Lists

Create interactive task lists with [ ] for incomplete and [x] for completed tasks.

- [x] Task 1
- [ ] Task 2
- [ ] Task 3

OUTPUT

  • Task 1
  • Task 2
  • Task 3



🔢 Math Equations (LaTeX)

Use LaTeX syntax within $$ to display mathematical equations.

$$
x = {-b \pm \sqrt{b^2-4ac} \over 2a}
$$

OUTPUT

\[ x = {-b \pm \sqrt{b^2-4ac} \over 2a} \]



😀 Emojis (If Supported)

Insert emojis using Unicode characters.

🚀 🎉 🔥

OUTPUT

🚀 🎉 🔥