Markdown Syntax

Heads

H2 Tag ## Title
H3 Tag ### Title

Emphasis

italic *italic*
italic _italic_
bold **bold**
bold __bold__
Strikethrough ~~Strikethrough~~

Unordered lists

  • Item 1
  • Item 2
    • Item 2a
    • Item 2b
      • item 2b1
  • Item 3
1
2
3
4
5
6
* Item 1
* Item 2
* Item 2a
* Item 2b
* item 2b1
* Item 3

Ordered lists

  1. first
  • second
    1. 1
    • 2
  • third
1
2
3
4
5
1. first
* second
1. 1
* 2
* third

Images

Inline link: ![Text](url "Optional title")
reference link: ![id]: url "Optional title" ![Text][id]
Control size: <img src="url" style="zoom:30%" />

GitHub
Inline link: [Text](url "Optional title")
Reference link: [id]: url "Optional title" [Text][id]

Blockquotes

As kanye said:

This is a Blockquotes

This is nested blockquote

This is nested nested blockquote

> content
> > nested conteng
> > > nested nested content

Inline code

you can use <TAB>(4 space) to insert a code

write code here

Syntax highlighting

for code python

1
2
3
4
def delURL(text):
text = re.sub(r"http\S+", "", text)
text = re.sub(r"@\S+", "", text)
return text

```python
code here
```

Task lists

  • need to do 1
  • already do
1
2
- [ ] need to do 1
- [x] already do

Tables

First Header Second Header
cell1 cell2
cell3 cell4
1
2
3
4
First Header | Second Header
-- | --
cell1 | cell2
cell3 | cell4

Videos


Author: Min Gao

License: CC BY-NC-SA 4.0

如需转载或引用, 请标注出处。