Markdown is a lightweight markup language used to add formatting to plain text. It's widely used for writing documentation, creating readme files, and formatting content for websites. Hereโs a guide to the basic syntax of Markdown.
Headers are created using the#
symbol. The number of#
symbols indicates the header level:
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6
You can apply emphasis to text using asterisks or underscores:
*Italic* or _Italic_
**Bold** or __Bold__
***Bold and Italic*** or ___Bold and Italic___
Markdown supports both ordered and unordered lists:
% Unordered list
- Item 1
- Item 2
- Subitem 1
- Subitem 2
% Ordered list
1. First item
2. Second item
1. Subitem 1
2. Subitem 2
To create hyperlinks, use the following syntax:
[Link text](https://www.example.com)
To include images, use a similar syntax to links but with an exclamation mark at the start:
![Alt text](https://www.example.com/image.jpg)
Blockquotes are created using the>
symbol:
> This is a blockquote.
> It can span multiple lines.
Inline code is enclosed in single backticks, and code blocks are enclosed in triple backticks:
Inline code: `code`
Code block:
```
function hello() {
console.log("Hello, World!");
}
```
Horizontal rules are created with three or more hyphens, asterisks, or underscores:
---
***
___
Tables are created using pipes and hyphens:
| Header 1 | Header 2 |
|----------|----------|
| Row 1 | Data 1 |
| Row 2 | Data 2 |
Task lists are created using hyphens and square brackets:
- [ ] Task 1
- [x] Task 2 (completed)
- [ ] Task 3
I think you are here to get to know me.
๐ Connect with me across platforms.
๐ค Hit me up on these links, and let's turn ideas into action!