Markdown Cheatsheet

This page presents a list of commonly used grammar in markdown.

Headers

# h1
## h2
### h3
#### h4
##### h5
###### h6

Header 1
========

Header 2
--------

Quote

> Quote

> > Nested Quote

Lists

* unordered item 1
* unordered item 2
    * unordered item 2.1
    * unordered item 2.2


1. ordered item 1
2. ordered item 2
    1. ordered item 2.1
    2. ordered item 2.2


* [ ] Unordered item with checkbox off
* [x] Unordered item with checkbox on

Tables

| column 1 | column 2 |
|----------|----------|
| Cell 1   | Cell 2   |
| Cell 3   | Cell 4   |


| Text left-aligned column | Text center-aligned column | Text right-aligned column |
|:-------------------------|:--------------------------:|--------------------------:|
| Cell 1                   | Cell 2                     |                    Cell 3 |
| Cell 4                   | Cell 5                     |                    Cell 6 |

Text Highlights

*italic*

**bold**

~~struck out~~

Code

`inline code`

```
code block
```

```python
print("this is a python code block")
```

```cpp
printf("this is a c++ code block");
```
[devmemo](https://devmemo.io)

Images

![Image Title](/path/to/your/image)

![Image Title](https://your-image-url)

Horizontal Line

---

***

___

Backslack Escapes

CharacterDescription
\backslash
`backtick
*asterisk
_underscore
{}curly braces
[]square brackets
()parentheses
#hash mark
+plus sign
-minus sign (hyphen)
.dot
!exclamation mark