找不同

it2023-01-24  54

`在这里插入代码片`@[TOC]找不同 #include<stdio.h> int main() { int a, b,g=0,f[20],e=0,h=0; scanf_s("%d", &a); int c[21]; for (int i = 0; i < a; i++) { scanf_s("%d", &c[i]); } scanf_s("%d", &b); int d[21]; for (int j = 0; j < b; j++) { scanf_s("%d", &d[j]); } for (int k = 0; k < a; k++) { for (int l = 0; l < b; l++) { if (c[k] == d[l]) { g = 1; break; } }if (g == 0) { f[e] = c[k]; e++; }g = 0; } for (int k = 0; k < b; k++) { for (int l = 0; l < a; l++) { if (d[k] == c[l]) { g = 1; break; } }if (g == 0) { f[e] = d[k]; e++; }g = 0; } for (int m = 0; m < e; m++) { for (int n = m+1; n < e; n++) { if (f[m] == f[n]) h = 1; break; }if (h == 0) { printf("%d ", f[m]); }h = 0; } } # 欢迎使用Markdown编辑器 你好! 这是你第一次使用 **Markdown编辑器** 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 ## 新的改变 我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客: 1. **全新的界面设计** ,将会带来全新的写作体验; 2. 在创作中心设置你喜爱的代码高亮样式,Markdown **将代码片显示选择的高亮样式** 进行展示; 3. 增加了 **图片拖拽** 功能,你可以将本地的图片直接拖拽到编辑区域直接展示; 4. 全新的 **KaTeX数学公式** 语法; 5. 增加了支持**甘特图的mermaid语法[^1]** 功能; 6. 增加了 **多屏幕编辑** Markdown文章功能; 7. 增加了 **焦点写作模式、预览模式、简洁写作模式、左右区域同步滚轮设置** 等功能,功能按钮位于编辑区域与预览区域中间; 8. 增加了 **检查列表** 功能。 [^1]: [mermaid语法说明](https://mermaidjs.github.io/) ## 功能快捷键 撤销:<kbd>Ctrl/Command</kbd> + <kbd>Z</kbd> 重做:<kbd>Ctrl/Command</kbd> + <kbd>Y</kbd> 加粗:<kbd>Ctrl/Command</kbd> + <kbd>B</kbd> 斜体:<kbd>Ctrl/Command</kbd> + <kbd>I</kbd> 标题:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>H</kbd> 无序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>U</kbd> 有序列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>O</kbd> 检查列表:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>C</kbd> 插入代码:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>K</kbd> 插入链接:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>L</kbd> 插入图片:<kbd>Ctrl/Command</kbd> + <kbd>Shift</kbd> + <kbd>G</kbd> 查找:<kbd>Ctrl/Command</kbd> + <kbd>F</kbd> 替换:<kbd>Ctrl/Command</kbd> + <kbd>G</kbd> ## 合理的创建标题,有助于目录的生成 直接输入1<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成1级标题。 输入2<kbd>#</kbd>,并按下<kbd>space</kbd>后,将生成2级标题。 以此类推,我们支持6级标题。有助于使用`TOC`语法后生成一个完美的目录。 ## 如何改变文本的样式 *强调文本* _强调文本_ **加粗文本** __加粗文本__ ==标记文本== ~~删除文本~~ > 引用文本 H~2~O is是液体。 2^10^ 运算结果是 1024. ## 插入链接与图片 链接: [link](https://www.csdn.net/). 图片: ![Alt](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNy83L0IvMV9yYWxmX2h4MTYzY29tLmpwZw) 带尺寸的图片: ![Alt](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNy83L0IvMV9yYWxmX2h4MTYzY29tLmpwZw =30x30) 居中的图片: ![Alt](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNy83L0IvMV9yYWxmX2h4MTYzY29tLmpwZw#pic_center) 居中并且带尺寸的图片: ![Alt](https://imgconvert.csdnimg.cn/aHR0cHM6Ly9hdmF0YXIuY3Nkbi5uZXQvNy83L0IvMV9yYWxmX2h4MTYzY29tLmpwZw#pic_center =30x30) 当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。 ## 如何插入一段漂亮的代码片 去[博客设置](https://mp.csdn.net/console/configBlog)页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 `代码片`. ```javascript // An highlighted block var foo = 'bar';

生成一个适合你的列表

项目 项目 项目 项目1项目2项目3 计划任务 完成任务

创建一个表格

一个简单的表格是这么创建的:

项目Value电脑$1600手机$12导管$1

设定内容居中、居左、居右

使用:---------:居中 使用:----------居左 使用----------:居右

第一列第二列第三列第一列文本居中第二列文本居右第三列文本居左

SmartyPants

SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:

TYPEASCIIHTMLSingle backticks'Isn't this fun?'‘Isn’t this fun?’Quotes"Isn't this fun?"“Isn’t this fun?”Dashes-- is en-dash, --- is em-dash– is en-dash, — is em-dash

创建一个自定义列表

Markdown Text-to- HTML conversion tool Authors John Luke

如何创建一个注脚

一个具有注脚的文本。1

注释也是必不可少的

Markdown将文本转换为 HTML。

KaTeX数学公式

您可以使用渲染LaTeX数学表达式 KaTeX:

Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n1)!nN 是通过欧拉积分

Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t   . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=0tz1etdt.

你可以找到更多关于的信息 LaTeX 数学表达式here.

新的甘特图功能,丰富你的文章

Mon 06 Mon 13 Mon 20 已完成 进行中 计划一 计划二 现有任务 Adding GANTT diagram functionality to mermaid 关于 甘特图 语法,参考 这儿,

UML 图表

可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:

#mermaid-svg-PBdB1Ngp66IQeVfV .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .label text{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .node rect,#mermaid-svg-PBdB1Ngp66IQeVfV .node circle,#mermaid-svg-PBdB1Ngp66IQeVfV .node ellipse,#mermaid-svg-PBdB1Ngp66IQeVfV .node polygon,#mermaid-svg-PBdB1Ngp66IQeVfV .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-PBdB1Ngp66IQeVfV .node .label{text-align:center;fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .node.clickable{cursor:pointer}#mermaid-svg-PBdB1Ngp66IQeVfV .arrowheadPath{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-PBdB1Ngp66IQeVfV .flowchart-link{stroke:#333;fill:none}#mermaid-svg-PBdB1Ngp66IQeVfV .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-PBdB1Ngp66IQeVfV .edgeLabel rect{opacity:0.9}#mermaid-svg-PBdB1Ngp66IQeVfV .edgeLabel span{color:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-PBdB1Ngp66IQeVfV .cluster text{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV 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-PBdB1Ngp66IQeVfV .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-PBdB1Ngp66IQeVfV text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-PBdB1Ngp66IQeVfV .actor-line{stroke:grey}#mermaid-svg-PBdB1Ngp66IQeVfV .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-PBdB1Ngp66IQeVfV #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .sequenceNumber{fill:#fff}#mermaid-svg-PBdB1Ngp66IQeVfV #sequencenumber{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV #crosshead path{fill:#333;stroke:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .messageText{fill:#333;stroke:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-PBdB1Ngp66IQeVfV .labelText,#mermaid-svg-PBdB1Ngp66IQeVfV .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-PBdB1Ngp66IQeVfV .loopText,#mermaid-svg-PBdB1Ngp66IQeVfV .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-PBdB1Ngp66IQeVfV .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-PBdB1Ngp66IQeVfV .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-PBdB1Ngp66IQeVfV .noteText,#mermaid-svg-PBdB1Ngp66IQeVfV .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-PBdB1Ngp66IQeVfV .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-PBdB1Ngp66IQeVfV .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-PBdB1Ngp66IQeVfV .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-PBdB1Ngp66IQeVfV .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .section{stroke:none;opacity:0.2}#mermaid-svg-PBdB1Ngp66IQeVfV .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-PBdB1Ngp66IQeVfV .section2{fill:#fff400}#mermaid-svg-PBdB1Ngp66IQeVfV .section1,#mermaid-svg-PBdB1Ngp66IQeVfV .section3{fill:#fff;opacity:0.2}#mermaid-svg-PBdB1Ngp66IQeVfV .sectionTitle0{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .sectionTitle1{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .sectionTitle2{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .sectionTitle3{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-PBdB1Ngp66IQeVfV .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .grid path{stroke-width:0}#mermaid-svg-PBdB1Ngp66IQeVfV .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-PBdB1Ngp66IQeVfV .task{stroke-width:2}#mermaid-svg-PBdB1Ngp66IQeVfV .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .taskText:not([font-size]){font-size:11px}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-PBdB1Ngp66IQeVfV .task.clickable{cursor:pointer}#mermaid-svg-PBdB1Ngp66IQeVfV .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-PBdB1Ngp66IQeVfV .taskText0,#mermaid-svg-PBdB1Ngp66IQeVfV .taskText1,#mermaid-svg-PBdB1Ngp66IQeVfV .taskText2,#mermaid-svg-PBdB1Ngp66IQeVfV .taskText3{fill:#fff}#mermaid-svg-PBdB1Ngp66IQeVfV .task0,#mermaid-svg-PBdB1Ngp66IQeVfV .task1,#mermaid-svg-PBdB1Ngp66IQeVfV .task2,#mermaid-svg-PBdB1Ngp66IQeVfV .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutside0,#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutside2{fill:#000}#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutside1,#mermaid-svg-PBdB1Ngp66IQeVfV .taskTextOutside3{fill:#000}#mermaid-svg-PBdB1Ngp66IQeVfV .active0,#mermaid-svg-PBdB1Ngp66IQeVfV .active1,#mermaid-svg-PBdB1Ngp66IQeVfV .active2,#mermaid-svg-PBdB1Ngp66IQeVfV .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-PBdB1Ngp66IQeVfV .activeText0,#mermaid-svg-PBdB1Ngp66IQeVfV .activeText1,#mermaid-svg-PBdB1Ngp66IQeVfV .activeText2,#mermaid-svg-PBdB1Ngp66IQeVfV .activeText3{fill:#000 !important}#mermaid-svg-PBdB1Ngp66IQeVfV .done0,#mermaid-svg-PBdB1Ngp66IQeVfV .done1,#mermaid-svg-PBdB1Ngp66IQeVfV .done2,#mermaid-svg-PBdB1Ngp66IQeVfV .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-PBdB1Ngp66IQeVfV .doneText0,#mermaid-svg-PBdB1Ngp66IQeVfV .doneText1,#mermaid-svg-PBdB1Ngp66IQeVfV .doneText2,#mermaid-svg-PBdB1Ngp66IQeVfV .doneText3{fill:#000 !important}#mermaid-svg-PBdB1Ngp66IQeVfV .crit0,#mermaid-svg-PBdB1Ngp66IQeVfV .crit1,#mermaid-svg-PBdB1Ngp66IQeVfV .crit2,#mermaid-svg-PBdB1Ngp66IQeVfV .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-PBdB1Ngp66IQeVfV .activeCrit0,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCrit1,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCrit2,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-PBdB1Ngp66IQeVfV .doneCrit0,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCrit1,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCrit2,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-PBdB1Ngp66IQeVfV .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-PBdB1Ngp66IQeVfV .milestoneText{font-style:italic}#mermaid-svg-PBdB1Ngp66IQeVfV .doneCritText0,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCritText1,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCritText2,#mermaid-svg-PBdB1Ngp66IQeVfV .doneCritText3{fill:#000 !important}#mermaid-svg-PBdB1Ngp66IQeVfV .activeCritText0,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCritText1,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCritText2,#mermaid-svg-PBdB1Ngp66IQeVfV .activeCritText3{fill:#000 !important}#mermaid-svg-PBdB1Ngp66IQeVfV .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-PBdB1Ngp66IQeVfV g.classGroup text .title{font-weight:bolder}#mermaid-svg-PBdB1Ngp66IQeVfV g.clickable{cursor:pointer}#mermaid-svg-PBdB1Ngp66IQeVfV g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-PBdB1Ngp66IQeVfV g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-PBdB1Ngp66IQeVfV .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-PBdB1Ngp66IQeVfV .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-PBdB1Ngp66IQeVfV .dashed-line{stroke-dasharray:3}#mermaid-svg-PBdB1Ngp66IQeVfV #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV .commit-id,#mermaid-svg-PBdB1Ngp66IQeVfV .commit-msg,#mermaid-svg-PBdB1Ngp66IQeVfV .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-PBdB1Ngp66IQeVfV g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-PBdB1Ngp66IQeVfV g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-PBdB1Ngp66IQeVfV g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-PBdB1Ngp66IQeVfV .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-PBdB1Ngp66IQeVfV .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-PBdB1Ngp66IQeVfV .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-PBdB1Ngp66IQeVfV .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-PBdB1Ngp66IQeVfV .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-PBdB1Ngp66IQeVfV .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-PBdB1Ngp66IQeVfV .edgeLabel text{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-PBdB1Ngp66IQeVfV .node circle.state-start{fill:black;stroke:black}#mermaid-svg-PBdB1Ngp66IQeVfV .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-PBdB1Ngp66IQeVfV #statediagram-barbEnd{fill:#9370db}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-state .divider{stroke:#9370db}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-PBdB1Ngp66IQeVfV .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-PBdB1Ngp66IQeVfV .note-edge{stroke-dasharray:5}#mermaid-svg-PBdB1Ngp66IQeVfV .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-PBdB1Ngp66IQeVfV .error-icon{fill:#522}#mermaid-svg-PBdB1Ngp66IQeVfV .error-text{fill:#522;stroke:#522}#mermaid-svg-PBdB1Ngp66IQeVfV .edge-thickness-normal{stroke-width:2px}#mermaid-svg-PBdB1Ngp66IQeVfV .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-PBdB1Ngp66IQeVfV .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-PBdB1Ngp66IQeVfV .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-PBdB1Ngp66IQeVfV .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-PBdB1Ngp66IQeVfV .marker{fill:#333}#mermaid-svg-PBdB1Ngp66IQeVfV .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-PBdB1Ngp66IQeVfV { color: rgba(0, 0, 0, 0.75); font: ; } 张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五

这将产生一个流程图。:

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

FLowchart流程图

我们依旧会支持flowchart的流程图:

Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no 关于 Flowchart流程图 语法,参考 这儿.

导出与导入

导出

如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。

导入

如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入, 继续你的创作。


注脚的解释 ↩︎

最新回复(0)