Markdown Headings
It creates different levels/sizes of headings.
Markdown Syntax:
Markdown syntax for headings uses hash symbols (#) to denote different levels of headings, helping to structure and organize content by visually indicating the hierarchy of information.
HTML Syntax:
HTML syntax in Markdown involves using angle brackets (<>) and tags to format text, providing more control over styling and structure compared to Markdown’s simpler syntax.
Element | Description | HTML Syntax | Markdown Syntax |
---|---|---|---|
H1 | Largest heading | <h1>Heading 1</h1> |
# Heading 1 |
H2 | Second largest heading | <h2>Heading 2</h2> |
## Heading 2 |
H3 | Third largest heading | <h3>Heading 3</h3> |
### Heading 3 |
H4 | Fourth largest heading | <h4>Heading 4</h4> |
#### Heading 4 |
H5 | Fifth largest heading | <h5>Heading 5</h5> |
##### Heading 5 |
H6 | Sixth largest heading | <h6>Heading 6</h6> |
###### Heading 6 |
Markdown Cheat Sheet
Markdown is a simple way to write and format text using plain text symbols. It’s a lightweight language that lets you create nicely formatted text without the use of complex coding. The idea is to make it easy for people to read and understand the formatting, even if they’re looking at the raw text.
This cheat sheet will go over some of the key components of markdown, including code syntaxes and examples that the reader can use to create their own highly formatted text articles.