Cheatsheet for markdown.
Cheatsheet for markdown (Basics)
Contents
- Heading
- Emphasis
- Link
- Code
- List
- Latex
- Image
- Foldable text
- Emoji and Hotkey
- miscellaneous
- Useful link
Heading 1
How:
# Heading 1
Heading 2
How:
## Heading 2
Heading 3
How:
### Heading 3
Heading 4
How:
#### Heading 4
Heading 5
How:
##### Heading 5
Emphasis
Italic text How:
*Italic text* or _Italic text_
Bold text How:
**Bold text** or __Bold text__
Strikethrough
How:
~~Strikethrough~~
blockquote
blockquote How:
blockquote blockquote
Color
How:
<span style="color:red">Color</span>
Link
How:
[Link](http://www.google.com/)
Code
inline code
multiple lines of codes
How:
`code`
```
codes
```
List
Unordered List
- Bullet
- sub bullet
- Sub-sub bullet
- sub bullet
- Bullet
- sub bullet
- Sub-sub bullet
- sub bullet
How:
Unordered List
- Bullet
- sub bullet
- Sub-sub bullet
- Bullet
- sub bullet
- Sub-sub bullet
- Numbered list
- Sub numbered list
- Sub numbered kist
How:
1. Numbered list
1. Sub numbered list
2. Sub numbered kist
Task List
- An uncompleted task
- A completed task
How:
- [ ] An uncompleted task
- [x] A completed task
Horizontal line :
How:
-----
Latex
LATEX
How:

<img src="https://tex.s2cms.ru/svg/E_0=mc^2" alt="E_0=mc^2" />
Table
Table:
header 1 | header 2 |
---|---|
Row 1 | Values |
Row 2 continue |
Values |
How:
header 1 | header 2
------- | -------
Row 1 | Values
Row 2 <br> continue | Values
Image
Image:
How:

Foldable text
Hidden materials
Put text here
How:
<details>
<summary>Hidden materials</summary>
<p> Put text here </p>
</details>
Emoji and Hotkey
:+1:
How:
:+1:
The complete list can be found at emoji list
Hotkey: ⌘C
How:
<kbd>⌘C</kbd>
common hotkey: ⌥(Option)⌃(Control)⌘(Command)⇧(Shift)⇪(Caps Lock) ⇥(Tab) ↩(Return) ⌫(Delete)↑(Up)↓(Down)←(Left)→ (right)
miscellaneous
Comment
How:
<!--
Does not show
-->
indent
with indent
How:
with indent
Footnotes
Need more [^1] to say.
[^1]: This is the Footnote.
Useful references
-[ref1]: https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet
If you are interested in using R Markdown, [ref2] and [ref3] would be a good reference.
-[ref2] https://bookdown.org/yihui/rmarkdown/
-[ref3] http://www.stat.cmu.edu/~cshalizi/rmarkdown/#numbered-lists
License
Copyright (c) 2019 Saeid Amiri