[Markdown] Markdown的一些常用语法,轻轻松松写博客!


一、标题

代码形式:

# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

注: 使用 # 号可表示1-6级标题,一级标题对应一个 # 号,二级标题对应两个 # 号,以此类推。

效果如下:

一级标题

二级标题

三级标题

四级标题
五级标题
六级标题

二、字体

代码形式 效果
**文字加粗** 文字加粗
*文字斜体* 文字斜体
***文字斜体加粗*** 文字斜体加粗
~~文字加删除线~~ 文字加删除线
`文字标记` 文字标记
<u>文字带下划线</u> 文字带下划线

三、引用

代码形式:

> 引用的文字

  • 1

效果如下:

引用的文字


四、分割线

代码形式:

___ 
或
***

  • 1
  • 2
  • 3

注: 三个及以上 _* 连在一起便可以形成一条分割线。

效果如下:


五、段落

这是一个段落。
(换行) 使用两个以上空格加上回车,可以在段落中另起一行。

(空一行是另起一段) 这是另外一个段落。


六、代码段

代码形式:

```c
#include "stdio.h"

void mian()
{
    printf("hello world!!");
    return 0;
}
```注意:请删去这里的反斜杠

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

效果如下:

#include "stdio.h"

void mian()
{
    printf("hello world!!");
    return 0;
}

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

七、公式(LaTeX语言)

1、单独成行的公式:

$$
LaTex语言 
$$

  • 1
  • 2
  • 3

注: 公式写在两个 $ 之间。

效果如下:

a

b

±

c

d

=

a

d

±

b

c

b

d

frac{a}{b}pm frac{c}{d}= frac{ad pm bc}{bd}

ba​±dc​=bdad±bc​
2、在句子中插入公式:

句中公式 $ LaTex语言 $ 已经插入。

  • 1

注: 公式写在一个 $ 之间。

效果如下:

句中公式

F

=

G

M

m

r

2

F = G{{Mm} over {{r^2}}}

F=Gr2Mm​ 已经插入。


八、图片

![图片注释](timg.jpg "图片标题")

  • 1

效果如下:
[Markdown] Markdown的一些常用语法,轻轻松松写博客!
扩展1:如何改变图片的位置(居中、靠右、靠左)?

直接在图片链接后面加上:

  • #pic_center :图片居中
  • #pic_left :图片靠左(默认不加即为靠左)
  • #pic_right :图片靠右

例如:

![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg#pic_center)
![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg#pic_left)
![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg#pic_right)

  • 1
  • 2
  • 3

扩展2:如何改变图片的大小?

第一种方法:

在图片链接后面空一格,再加上:

  • =300x :将图片的长度变为300像素
  • =nx :故此方法可以将图片进行缩放,改变图片大小

例如:

![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg#pic_center =300x)  #缩小图片
![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg =300x)
![ ](https://img-blog.csdnimg.cn/2020111718485051.jpg#pic_left =750x)    #放大图片

  • 1
  • 2
  • 3

第二种方法:

使用<img>标签,这是HTML格式。

<img src="https://i-blog.csdnimg.cn/blog_migrate/a506e7e08726b2a10a1b512a2de8395f.jpeg" width="30%">

  • 1

效果如下:
[Markdown] Markdown的一些常用语法,轻轻松松写博客!


九、表格

代码形式:

|左对齐|居中|右对齐|
|:----|:-:|-----:|
|内容内容内容内容内容|内容内容内容|内容内容内容内容内|
|内容|内容|内容|

  • 1
  • 2
  • 3
  • 4

效果如下:

左对齐 居中 右对齐
内容内容内容内容 内容内容内容内容 内容内容内容内容内
内容 内容 内容

十、列表

1、无序列表

- 列表内容
+ 列表内容
* 列表内容

  • 1
  • 2
  • 3

注: – / + / * 都可以接列表内容。

效果如下:

  • 列表内容
  • 列表内容
  • 列表内容

2、有序列表

1. 列表内容1
2. 列表内容2
3. 列表内容3

  • 1
  • 2
  • 3

注: . 与 列表内容 之间的空格不能忽略。

效果如下:

  1. 列表内容
  2. 列表内容
  3. 列表内容

十一、链接

格式:[链接名称](链接地址)
例如:
这是一个链接:[百度](http://www.baidu.com)

  • 1
  • 2
  • 3

效果如下:

这是一个链接:百度


十二、流程图

代码形式:

```mermaid
graph LR
A(中心主题)-->B1(分支主题1)
B1-->C1(注解)
A==>B2[分支主题2]
B2-->C2(注解)
A-.->B3((分支主题3))
B3-->C3(注解)
A---B4(分支主题4)
B7-->C4(注解)
A--线上文字-->B5>分支主题5]
B4-->C5(注解)
A==线上文字==>B6{分支主题6}
B5-->C6(注解)
A-.线上文字.->B7(分支主题7)
B6-->C7(注解)
```注意:请删去这里的反斜杠

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17

效果如下:

#mermaid-svg-t4BSPFjzyPG7q4IP .label{font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);fill:#333;color:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .label text{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .node rect,#mermaid-svg-t4BSPFjzyPG7q4IP .node circle,#mermaid-svg-t4BSPFjzyPG7q4IP .node ellipse,#mermaid-svg-t4BSPFjzyPG7q4IP .node polygon,#mermaid-svg-t4BSPFjzyPG7q4IP .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-t4BSPFjzyPG7q4IP .node .label{text-align:center;fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .node.clickable{cursor:pointer}#mermaid-svg-t4BSPFjzyPG7q4IP .arrowheadPath{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-t4BSPFjzyPG7q4IP .flowchart-link{stroke:#333;fill:none}#mermaid-svg-t4BSPFjzyPG7q4IP .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-t4BSPFjzyPG7q4IP .edgeLabel rect{opacity:0.9}#mermaid-svg-t4BSPFjzyPG7q4IP .edgeLabel span{color:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-t4BSPFjzyPG7q4IP .cluster text{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-t4BSPFjzyPG7q4IP .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-t4BSPFjzyPG7q4IP text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-t4BSPFjzyPG7q4IP .actor-line{stroke:grey}#mermaid-svg-t4BSPFjzyPG7q4IP .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-t4BSPFjzyPG7q4IP #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .sequenceNumber{fill:#fff}#mermaid-svg-t4BSPFjzyPG7q4IP #sequencenumber{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP #crosshead path{fill:#333;stroke:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .messageText{fill:#333;stroke:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-t4BSPFjzyPG7q4IP .labelText,#mermaid-svg-t4BSPFjzyPG7q4IP .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-t4BSPFjzyPG7q4IP .loopText,#mermaid-svg-t4BSPFjzyPG7q4IP .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-t4BSPFjzyPG7q4IP .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-t4BSPFjzyPG7q4IP .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-t4BSPFjzyPG7q4IP .noteText,#mermaid-svg-t4BSPFjzyPG7q4IP .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-t4BSPFjzyPG7q4IP .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-t4BSPFjzyPG7q4IP .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-t4BSPFjzyPG7q4IP .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-t4BSPFjzyPG7q4IP .mermaid-main-font{font-family:”trebuchet ms”, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .section{stroke:none;opacity:0.2}#mermaid-svg-t4BSPFjzyPG7q4IP .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-t4BSPFjzyPG7q4IP .section2{fill:#fff400}#mermaid-svg-t4BSPFjzyPG7q4IP .section1,#mermaid-svg-t4BSPFjzyPG7q4IP .section3{fill:#fff;opacity:0.2}#mermaid-svg-t4BSPFjzyPG7q4IP .sectionTitle0{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .sectionTitle1{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .sectionTitle2{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .sectionTitle3{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-t4BSPFjzyPG7q4IP .grid .tick text{font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .grid path{stroke-width:0}#mermaid-svg-t4BSPFjzyPG7q4IP .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-t4BSPFjzyPG7q4IP .task{stroke-width:2}#mermaid-svg-t4BSPFjzyPG7q4IP .taskText{text-anchor:middle;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .taskText:not([font-size]){font-size:11px}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-t4BSPFjzyPG7q4IP .task.clickable{cursor:pointer}#mermaid-svg-t4BSPFjzyPG7q4IP .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-t4BSPFjzyPG7q4IP .taskText0,#mermaid-svg-t4BSPFjzyPG7q4IP .taskText1,#mermaid-svg-t4BSPFjzyPG7q4IP .taskText2,#mermaid-svg-t4BSPFjzyPG7q4IP .taskText3{fill:#fff}#mermaid-svg-t4BSPFjzyPG7q4IP .task0,#mermaid-svg-t4BSPFjzyPG7q4IP .task1,#mermaid-svg-t4BSPFjzyPG7q4IP .task2,#mermaid-svg-t4BSPFjzyPG7q4IP .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutside0,#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutside2{fill:#000}#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutside1,#mermaid-svg-t4BSPFjzyPG7q4IP .taskTextOutside3{fill:#000}#mermaid-svg-t4BSPFjzyPG7q4IP .active0,#mermaid-svg-t4BSPFjzyPG7q4IP .active1,#mermaid-svg-t4BSPFjzyPG7q4IP .active2,#mermaid-svg-t4BSPFjzyPG7q4IP .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-t4BSPFjzyPG7q4IP .activeText0,#mermaid-svg-t4BSPFjzyPG7q4IP .activeText1,#mermaid-svg-t4BSPFjzyPG7q4IP .activeText2,#mermaid-svg-t4BSPFjzyPG7q4IP .activeText3{fill:#000 !important}#mermaid-svg-t4BSPFjzyPG7q4IP .done0,#mermaid-svg-t4BSPFjzyPG7q4IP .done1,#mermaid-svg-t4BSPFjzyPG7q4IP .done2,#mermaid-svg-t4BSPFjzyPG7q4IP .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-t4BSPFjzyPG7q4IP .doneText0,#mermaid-svg-t4BSPFjzyPG7q4IP .doneText1,#mermaid-svg-t4BSPFjzyPG7q4IP .doneText2,#mermaid-svg-t4BSPFjzyPG7q4IP .doneText3{fill:#000 !important}#mermaid-svg-t4BSPFjzyPG7q4IP .crit0,#mermaid-svg-t4BSPFjzyPG7q4IP .crit1,#mermaid-svg-t4BSPFjzyPG7q4IP .crit2,#mermaid-svg-t4BSPFjzyPG7q4IP .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-t4BSPFjzyPG7q4IP .activeCrit0,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCrit1,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCrit2,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-t4BSPFjzyPG7q4IP .doneCrit0,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCrit1,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCrit2,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-t4BSPFjzyPG7q4IP .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-t4BSPFjzyPG7q4IP .milestoneText{font-style:italic}#mermaid-svg-t4BSPFjzyPG7q4IP .doneCritText0,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCritText1,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCritText2,#mermaid-svg-t4BSPFjzyPG7q4IP .doneCritText3{fill:#000 !important}#mermaid-svg-t4BSPFjzyPG7q4IP .activeCritText0,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCritText1,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCritText2,#mermaid-svg-t4BSPFjzyPG7q4IP .activeCritText3{fill:#000 !important}#mermaid-svg-t4BSPFjzyPG7q4IP .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP g.classGroup text{fill:#9370db;stroke:none;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family);font-size:10px}#mermaid-svg-t4BSPFjzyPG7q4IP g.classGroup text .title{font-weight:bolder}#mermaid-svg-t4BSPFjzyPG7q4IP g.clickable{cursor:pointer}#mermaid-svg-t4BSPFjzyPG7q4IP g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-t4BSPFjzyPG7q4IP g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-t4BSPFjzyPG7q4IP .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-t4BSPFjzyPG7q4IP .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-t4BSPFjzyPG7q4IP .dashed-line{stroke-dasharray:3}#mermaid-svg-t4BSPFjzyPG7q4IP #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP .commit-id,#mermaid-svg-t4BSPFjzyPG7q4IP .commit-msg,#mermaid-svg-t4BSPFjzyPG7q4IP .branch-label{fill:lightgrey;color:lightgrey;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .slice{font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-t4BSPFjzyPG7q4IP g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-t4BSPFjzyPG7q4IP g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-t4BSPFjzyPG7q4IP g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-t4BSPFjzyPG7q4IP .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-t4BSPFjzyPG7q4IP .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-t4BSPFjzyPG7q4IP .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-t4BSPFjzyPG7q4IP .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-t4BSPFjzyPG7q4IP .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-t4BSPFjzyPG7q4IP .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-t4BSPFjzyPG7q4IP .edgeLabel text{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:’trebuchet ms’, verdana, arial;font-family:var(–mermaid-font-family)}#mermaid-svg-t4BSPFjzyPG7q4IP .node circle.state-start{fill:black;stroke:black}#mermaid-svg-t4BSPFjzyPG7q4IP .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-t4BSPFjzyPG7q4IP #statediagram-barbEnd{fill:#9370db}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-state .divider{stroke:#9370db}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-t4BSPFjzyPG7q4IP .note-edge{stroke-dasharray:5}#mermaid-svg-t4BSPFjzyPG7q4IP .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{–mermaid-font-family: ‘”trebuchet ms”, verdana, arial’;–mermaid-font-family: “Comic Sans MS”, “Comic Sans”, cursive}#mermaid-svg-t4BSPFjzyPG7q4IP .error-icon{fill:#522}#mermaid-svg-t4BSPFjzyPG7q4IP .error-text{fill:#522;stroke:#522}#mermaid-svg-t4BSPFjzyPG7q4IP .edge-thickness-normal{stroke-width:2px}#mermaid-svg-t4BSPFjzyPG7q4IP .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-t4BSPFjzyPG7q4IP .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-t4BSPFjzyPG7q4IP .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-t4BSPFjzyPG7q4IP .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-t4BSPFjzyPG7q4IP .marker{fill:#333}#mermaid-svg-t4BSPFjzyPG7q4IP .marker.cross{stroke:#333}

:root { –mermaid-font-family: “trebuchet ms”, verdana, arial;}
#mermaid-svg-t4BSPFjzyPG7q4IP {
color: rgba(0, 0, 0, 0.75);
font: ;
}

线上文字

线上文字

线上文字

中心主题

分支主题1

注解

分支主题2

注解

分支主题3

注解

分支主题4

分支主题7

注解

分支主题5

注解

分支主题6

注解

注解


总结:

写这个的目的主要是为了方便以后自己写Markdown可以用来参考,如果可以给您带来一些帮助那就更好了。
如果想要了解更多关于Markdown语言的内容,可以去读一下毕小朋的 《了不起的Markdown》 这本书。


最后再推荐一个LaTex公式在线编辑网站:
在线LaTex公式编辑器-妈叔出品


参考:
[1] 菜鸟教程:https://www.runoob.com/markdown/md-tutorial.html
[2] 简书:https://www.jianshu.com/p/191d1e21f7ed/

© 版权声明

相关文章

暂无评论

您必须登录才能参与评论!
立即登录
暂无评论...