In vs code editor use Ctrl+Shift+v for preview.
# Main Heading
## Subheading
### Sub-subheading
use "*" or "-" for bullet point
- Item 1
- Item 2
- Item 3
use number for order list
- First item
- Second item
- Third item
This is a blockquote.
> This is a blockquote.
> It can span multiple lines
This is **bold** text.
This is _italic_ text.
This is bold text. This is italic text.
- code blocks- inside template string:
function myFunction() { console.log("Hello World!"); }
`
function myFunction() {
console.log("Hello World!");
}
`
- Link:
Google
[Google](https://www.google.com/)
- Image:
![Alt Text](image.png)
<img src="image.png" alt="Alt Text" width="500" height="300">
<img src="image.png" alt="Alt Text" width="50%" height="50%">
- horizontal lines: Use three or more "-" or "*"
---
***
- table:
Column 1 | Column 2 |
---|---|
Row 1: Column 1 | Column 2 |
Row 2: Column 1 | Column 2 |
| Column 1 | Column 2 |
| -------- | -------- |
| Row 1: Column 1 | Column 2 |
| Row 2: Column 1 | Column 2 |
Click to expand dropdown
Dropdown content goes here.
<details>
<summary>Click to expand dropdown</summary>
Dropdown content goes here.
</details>
- center alignment
<center>This text will be centered</center>
<div align="center" class="container">
<h1>My Project</h1>
<p>This is a paragraph of text.</p>
</div>