Markdown basic

Markdown basis

title

  1. # Sign indicates the use of a number of several levels of title

  2. Use [\TOC]to generate the Table of Contents Index


Fonts

  1. Two *numbers surrounded with bold text
  2. Use a *number to surround inclined text
  3. Using three *surround number to simultaneously bold and italic , can also be used**_ _**
  4. Two ~enclosing a plusStrikethrough
  5. Two =enclosing markers in the text == ==
  6. Use the same amount of >numbers represent the same level of reference

One

Two

Eight


Dividing line

Three or more, or three - or may represent a dividing line *
---


image

![图片名](图片地址 "图片名称")


link

[链接名](链接 "链接标题")


List

Unordered list using +, -, \*character creation

Plus an ordered list using a digital .creation

For three indented space between nested list, superior and subordinate

  1. 1 ordered list
  2. 2 ordered list
    • Unordered sub-list 1
    • Unordered sub-list 2
  3. 3 ordered list

- [ ]+ Space without making matters represents a

  • [ ] EVERYTHING

- [x]+ Space represents one has done matters

  • [x] DONE

form

To generate a table, with | delimited plurality of header
表头|表头|表头
followed by a delimiter
-|-|-

- both sides of the character can be added: a predetermined left, center, or right justified

  • default and :-Left
  • :-: Center
  • -: Align Right

Followed by content

Header Header Header Header
Align middle Align Right Left default
- - - -
content content content content

Block

Surrounded by a single line of code ` code

Block surrounded by three `,` a first need to indicate the right tag type

``` code_type

code

```

#include <iostream>
int main(void){
    printf("hello markdown\n");
    return 0;
}

Row Latex mathematical formulas

Used $\Latex$in the mathematical formula Latex display lines \ (\ sqrt {x ^ { 2}} \)

Used $$\Latex$$to Latex The mathematical formula display line \ [\ sqrt {x ^ { 2}} \]

flow chart

Remember what the usage flow

\`\`\`flow
st=>start: 开始
op=>operation: 处理
cond=>condition: 判断
sub1=>subroutine: 子流程
io=>inputoutput: 输入输出框
e=>end: 结束框

st->op->cond
cond(yes)->io->e
cond(no)->sub1(right)->op
\`\`\`

Defined by an upper half and a lower half connected to form, the following effects

st=>start: 开始
op=>operation: 处理
cond=>condition: 判断
sub=>subroutine: 子流程
io=>inputoutput: 输出输出
e=>end: 结束框

st->op->cond
cond(yes)->io->e
cond(no)->sub(right)->op

But the blog does not seem to support the flow orz Park

Guess you like

Origin www.cnblogs.com/hermitgreen/p/12453529.html