YouTip LogoYouTip

Markdown Tutorial - Syntax Guide

Introduction

Markdown is a lightweight markup language that converts to HTML. It is widely used for documentation, README files, and content writing on platforms like GitHub.

Headings

# Heading 1
## Heading 2
### Heading 3
#### Heading 4

Text Formatting

**bold text**
*italic text*
***bold and italic***
~~strikethrough~~
`inline code`

Paragraphs and Line Breaks

This is a paragraph.

This is another paragraph (separated by blank line).

Line with ending  
(next line continues - two spaces at end)

Lists

# Unordered list
- Item 1
- Item 2
  - Sub-item 2a
  - Sub-item 2b

# Ordered list
1. First item
2. Second item
3. Third item

Blockquotes and Horizontal Rules

# Blockquote
> This is a quoted text.
> It can span multiple lines.

# Horizontal rule
---
***
___

Summary

Markdown is simple yet powerful. Master headings, emphasis, lists, and links to write clear, well-structured documentation that converts cleanly to HTML.

← Markdown Tables and CodeRegex Practical Examples β†’