backup: Markdown Syntax

A small collection of Markdown general syntax

index


Heading

Level 1 heading

1
# Level 1 Heading

Level 2 heading

1
## Level 2 heading

Level 3 heading

1
### Level 3 heading

Level 4 heading

1
#### Level 4 heading
Level 5 heading
1
##### Level 5 heading
Level 6 heading
1
###### Level 6 heading

Error Cases
####### 7 Up to level 6 only


####### 7

1
2
####### 7
===

######## 8

1
2
######## 8
---

If it is on the top line of === or ---, it will automatically become a title (corresponding to Level 1 and Level 2)

Back to index

Quote

This is a quote!

And

it can

overlay

seems that you can always add…

1
2
3
4
5
> This is a quote!
>> And
>>> it can
>>>> overlay
>>>>> seems that you can always add...

Meow Meow
Meow Meow
Meow Meow

1
2
3
> Meow Meow
Meow Meow
Meow Meow

It needs a line break to get the quote out

Back to index

Font

Bold

Italic

Also italic

Bold and italic

delete

1
2
3
4
5
**Bold**
*Italic*
_Also italic_
***Bold and italic***
~~delete~~

Back to index

Dividing Line





1
2
3
4
---
--test--
***
****

Why can’t you add text in the middle of the split line?  ̄へ ̄

Back to index

List

Non-numeric list

  • dot (〃’▽’〃)
  • dot (`・ω・´)
  • and dot ( ̄. ̄)
1
2
3
+ dot (〃'▽'〃)
* dot (`・ω・´)
- and dot ( ̄. ̄)

Numbers List

  1. o( ̄▽ ̄)d
  2. ( ̄︶ ̄)↗
  3. ( • ̀ω•́ )✧
1
2
3
1. o( ̄▽ ̄)d 
2. ( ̄︶ ̄)↗
3. ( • ̀ω•́ )✧

List indent

  1. First
    1. Second
      1. Third
        1. Fourth
          • OwO
1
2
3
4
5
1. First
2. Second
3. Third
4. Fourth
+ OwO

Back to index

Table

What to write? I don’t know… Then write freely.
This is the content This is also content also~
Without a colon or colon on the left Both left and right is centered On the right is the right
1
2
3
4
|What to write?|I don't know...|Then write freely.|
|---------|:-----:|------:|
|This is the content | This is also content | also~|
|Without a colon or colon on the left|Both left and right is centered|On the right is the right|

Back to index

Code

1
2
3
4
5
6
#include <iostream>
using namespace std;
int main() {
cout << "Welcome to my blog~" << endl;
return 0;
}
1
2
3
4
5
6
7
8
``` c++
#include <iostream>
using namespace std;
int main() {
cout << "Welcome to my blog~" << endl;
return 0;
}
\```

If it’s a single line of code, you can just `code`

print "Welcome to my blog~"

1
`print "Welcome to my blog~"`

``` can be combined with setting code highlighting

Back to index

Picture

avatar~

1
2
![avatar~](https://i.loli.net/2018/10/10/5bbdef9771e6a.jpg "avatar")
![pic_alt](pic_address "pic_title")

Back to index

Hyperlink

1
2
3
4
5
6
+ [test](https://sm.ms "test")
+ [404 in China](https://www.google.com "The world's largest search engine")
+ [Still can be used when looking for some Chinese materials](https://www.baidu.com "Learn Baidu well ah")
+ [Home Page](https://aslin.site "Home Page~")

[alt](address "title")

  混合~

Try mixing

1
[![Try mixing](https://i.loli.net/2018/10/10/5bbdefcf4bc8f.jpg "Try mixing")](https://aslin.site)

Back to index

Autolink

lkjlkj174@gmail.com

1
<lkjlkj174@gmail.com>

Back to index

HTML Tags

Ctrl
Za
Za

1
2
3
<kbd>Ctrl</kbd>
Z<sub>a</sub>
Z<sup>a</sup>

Back to index

LaTeX 公式

LaTeX

Back to index

Task List

  • Heading
  • Quate
  • Font
  • Diving Line
  • List
  • Table
  • Code
  • Picture
  • Hyperlink
  • Anchor(toc)
  • Autolink
  • LaTeX
  • Footnotes
  • Video (iframe)
  • Embedded CSS
  • Customized List
  • Flowchart
  • Timing Chart
  • HTML Tags
  • TOC
  • Task list
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- [x] Heading
- [x] Quate
- [x] Font
- [x] Diving Line
- [x] List
- [x] Table
- [x] Code
- [x] Picture
- [x] Hyperlink
- [x] Anchor(toc)
- [x] Autolink
- [x] LaTeX
- [ ] Footnotes
- [ ] Video (iframe)
- [ ] Embedded CSS
- [ ] Customized List
- [ ] Flowchart
- [ ] Timing Chart
- [x] HTML Tags
- [x] TOC
- [x] Task list

Back to index


Try to translate the original blog, still lack of English skills emmmm

Author

ACce1er4t0r

Posted on

2022-03-08

Updated on

2023-04-22

Licensed under