Learn how to use Markdown to easily format text for web pages, including how to create headings, line breaks, text styles like bold and italic, and more.
6/15/2025
What is Markdown?
Markdown is a lightweight way to format text on the web. It’s simple, easy to read, and quick to write.
Markdown Writing Tips
1. Headings
Add # symbols at the beginning of a line to create headings.
The number of #
symbols shows the heading level:
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
2. Line Breaks
To create a new line, press the spacebar at least twice, then hit Enter.
3. Indentation
The first line of a paragraph is usually indented by two spaces.
You can also use these HTML codes to create spaces:
 
for a single space 
for a double space
4. Text Formatting
-
Bold: Use two asterisks
**
or underscores__
Example:**bold text**
→ bold text -
Italic: Use one asterisk
*
or underscore_
Example:*italic text*
→ italic text -
~~Strikethrough:~~ Use two tildes
~~
Example:~~deleted text~~
→ ~~deleted text~~ -
Bold and Italic: Use three asterisks
***
or underscores___
Example:***bold and italic text***
→ bold and italic text