动态规划算法理解
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。
我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:
全新的界面设计 ,将会带来全新的写作体验;在创作中心设置你喜爱的代码高亮样式,Markdown 将代码片显示选择的高亮样式 进行展示;增加了 图片拖拽 功能,你可以将本地的图片直接拖拽到编辑区域直接展示;全新的 KaTeX数学公式 语法;增加了支持甘特图的mermaid语法1 功能;增加了 多屏幕编辑 Markdown文章功能;增加了 焦点写作模式、预览模式、简洁写作模式、左右区域同步滚轮设置 等功能,功能按钮位于编辑区域与预览区域中间;增加了 检查列表 功能。撤销:Ctrl/Command + Z 重做:Ctrl/Command + Y 加粗:Ctrl/Command + B 斜体:Ctrl/Command + I 标题:Ctrl/Command + Shift + H 无序列表:Ctrl/Command + Shift + U 有序列表:Ctrl/Command + Shift + O 检查列表:Ctrl/Command + Shift + C 插入代码:Ctrl/Command + Shift + K 插入链接:Ctrl/Command + Shift + L 插入图片:Ctrl/Command + Shift + G 查找:Ctrl/Command + F 替换:Ctrl/Command + G
直接输入1次#,并按下space后,将生成1级标题。 输入2次#,并按下space后,将生成2级标题。 以此类推,我们支持6级标题。有助于使用TOC语法后生成一个完美的目录。
强调文本 强调文本
加粗文本 加粗文本
标记文本
删除文本
引用文本
H2O is是液体。
210 运算结果是 1024.
链接: link.
图片:
带尺寸的图片:
居中的图片:
居中并且带尺寸的图片:
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.
// An highlighted block var foo = 'bar';一个简单的表格是这么创建的:
项目Value电脑$1600手机$12导管$1使用:---------:居中 使用:----------居左 使用----------:居右
第一列第二列第三列第一列文本居中第二列文本居右第三列文本居左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一个具有注脚的文本。2
Markdown将文本转换为 HTML。
您可以使用渲染LaTeX数学表达式 KaTeX:
Gamma公式展示 Γ ( n ) = ( n − 1 ) ! ∀ n ∈ N \Gamma(n) = (n-1)!\quad\forall n\in\mathbb N Γ(n)=(n−1)!∀n∈N 是通过欧拉积分
Γ ( z ) = ∫ 0 ∞ t z − 1 e − t d t . \Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞tz−1e−tdt.
你可以找到更多关于的信息 LaTeX 数学表达式here.
可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:
#mermaid-svg-yIJXIbiVmksbUUVZ .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .label text{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .node rect,#mermaid-svg-yIJXIbiVmksbUUVZ .node circle,#mermaid-svg-yIJXIbiVmksbUUVZ .node ellipse,#mermaid-svg-yIJXIbiVmksbUUVZ .node polygon,#mermaid-svg-yIJXIbiVmksbUUVZ .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-yIJXIbiVmksbUUVZ .node .label{text-align:center;fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .node.clickable{cursor:pointer}#mermaid-svg-yIJXIbiVmksbUUVZ .arrowheadPath{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-yIJXIbiVmksbUUVZ .flowchart-link{stroke:#333;fill:none}#mermaid-svg-yIJXIbiVmksbUUVZ .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-yIJXIbiVmksbUUVZ .edgeLabel rect{opacity:0.9}#mermaid-svg-yIJXIbiVmksbUUVZ .edgeLabel span{color:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-yIJXIbiVmksbUUVZ .cluster text{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ 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-yIJXIbiVmksbUUVZ .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-yIJXIbiVmksbUUVZ text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-yIJXIbiVmksbUUVZ .actor-line{stroke:grey}#mermaid-svg-yIJXIbiVmksbUUVZ .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-yIJXIbiVmksbUUVZ #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .sequenceNumber{fill:#fff}#mermaid-svg-yIJXIbiVmksbUUVZ #sequencenumber{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ #crosshead path{fill:#333;stroke:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .messageText{fill:#333;stroke:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-yIJXIbiVmksbUUVZ .labelText,#mermaid-svg-yIJXIbiVmksbUUVZ .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-yIJXIbiVmksbUUVZ .loopText,#mermaid-svg-yIJXIbiVmksbUUVZ .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-yIJXIbiVmksbUUVZ .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-yIJXIbiVmksbUUVZ .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-yIJXIbiVmksbUUVZ .noteText,#mermaid-svg-yIJXIbiVmksbUUVZ .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-yIJXIbiVmksbUUVZ .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-yIJXIbiVmksbUUVZ .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-yIJXIbiVmksbUUVZ .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-yIJXIbiVmksbUUVZ .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .section{stroke:none;opacity:0.2}#mermaid-svg-yIJXIbiVmksbUUVZ .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-yIJXIbiVmksbUUVZ .section2{fill:#fff400}#mermaid-svg-yIJXIbiVmksbUUVZ .section1,#mermaid-svg-yIJXIbiVmksbUUVZ .section3{fill:#fff;opacity:0.2}#mermaid-svg-yIJXIbiVmksbUUVZ .sectionTitle0{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .sectionTitle1{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .sectionTitle2{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .sectionTitle3{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-yIJXIbiVmksbUUVZ .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .grid path{stroke-width:0}#mermaid-svg-yIJXIbiVmksbUUVZ .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-yIJXIbiVmksbUUVZ .task{stroke-width:2}#mermaid-svg-yIJXIbiVmksbUUVZ .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .taskText:not([font-size]){font-size:11px}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-yIJXIbiVmksbUUVZ .task.clickable{cursor:pointer}#mermaid-svg-yIJXIbiVmksbUUVZ .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-yIJXIbiVmksbUUVZ .taskText0,#mermaid-svg-yIJXIbiVmksbUUVZ .taskText1,#mermaid-svg-yIJXIbiVmksbUUVZ .taskText2,#mermaid-svg-yIJXIbiVmksbUUVZ .taskText3{fill:#fff}#mermaid-svg-yIJXIbiVmksbUUVZ .task0,#mermaid-svg-yIJXIbiVmksbUUVZ .task1,#mermaid-svg-yIJXIbiVmksbUUVZ .task2,#mermaid-svg-yIJXIbiVmksbUUVZ .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutside0,#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutside2{fill:#000}#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutside1,#mermaid-svg-yIJXIbiVmksbUUVZ .taskTextOutside3{fill:#000}#mermaid-svg-yIJXIbiVmksbUUVZ .active0,#mermaid-svg-yIJXIbiVmksbUUVZ .active1,#mermaid-svg-yIJXIbiVmksbUUVZ .active2,#mermaid-svg-yIJXIbiVmksbUUVZ .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-yIJXIbiVmksbUUVZ .activeText0,#mermaid-svg-yIJXIbiVmksbUUVZ .activeText1,#mermaid-svg-yIJXIbiVmksbUUVZ .activeText2,#mermaid-svg-yIJXIbiVmksbUUVZ .activeText3{fill:#000 !important}#mermaid-svg-yIJXIbiVmksbUUVZ .done0,#mermaid-svg-yIJXIbiVmksbUUVZ .done1,#mermaid-svg-yIJXIbiVmksbUUVZ .done2,#mermaid-svg-yIJXIbiVmksbUUVZ .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-yIJXIbiVmksbUUVZ .doneText0,#mermaid-svg-yIJXIbiVmksbUUVZ .doneText1,#mermaid-svg-yIJXIbiVmksbUUVZ .doneText2,#mermaid-svg-yIJXIbiVmksbUUVZ .doneText3{fill:#000 !important}#mermaid-svg-yIJXIbiVmksbUUVZ .crit0,#mermaid-svg-yIJXIbiVmksbUUVZ .crit1,#mermaid-svg-yIJXIbiVmksbUUVZ .crit2,#mermaid-svg-yIJXIbiVmksbUUVZ .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-yIJXIbiVmksbUUVZ .activeCrit0,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCrit1,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCrit2,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-yIJXIbiVmksbUUVZ .doneCrit0,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCrit1,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCrit2,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-yIJXIbiVmksbUUVZ .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-yIJXIbiVmksbUUVZ .milestoneText{font-style:italic}#mermaid-svg-yIJXIbiVmksbUUVZ .doneCritText0,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCritText1,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCritText2,#mermaid-svg-yIJXIbiVmksbUUVZ .doneCritText3{fill:#000 !important}#mermaid-svg-yIJXIbiVmksbUUVZ .activeCritText0,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCritText1,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCritText2,#mermaid-svg-yIJXIbiVmksbUUVZ .activeCritText3{fill:#000 !important}#mermaid-svg-yIJXIbiVmksbUUVZ .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-yIJXIbiVmksbUUVZ g.classGroup text .title{font-weight:bolder}#mermaid-svg-yIJXIbiVmksbUUVZ g.clickable{cursor:pointer}#mermaid-svg-yIJXIbiVmksbUUVZ g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-yIJXIbiVmksbUUVZ g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-yIJXIbiVmksbUUVZ .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-yIJXIbiVmksbUUVZ .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-yIJXIbiVmksbUUVZ .dashed-line{stroke-dasharray:3}#mermaid-svg-yIJXIbiVmksbUUVZ #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ .commit-id,#mermaid-svg-yIJXIbiVmksbUUVZ .commit-msg,#mermaid-svg-yIJXIbiVmksbUUVZ .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-yIJXIbiVmksbUUVZ g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-yIJXIbiVmksbUUVZ g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-yIJXIbiVmksbUUVZ g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-yIJXIbiVmksbUUVZ .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-yIJXIbiVmksbUUVZ .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-yIJXIbiVmksbUUVZ .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-yIJXIbiVmksbUUVZ .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-yIJXIbiVmksbUUVZ .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-yIJXIbiVmksbUUVZ .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-yIJXIbiVmksbUUVZ .edgeLabel text{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-yIJXIbiVmksbUUVZ .node circle.state-start{fill:black;stroke:black}#mermaid-svg-yIJXIbiVmksbUUVZ .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-yIJXIbiVmksbUUVZ #statediagram-barbEnd{fill:#9370db}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-state .divider{stroke:#9370db}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-yIJXIbiVmksbUUVZ .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-yIJXIbiVmksbUUVZ .note-edge{stroke-dasharray:5}#mermaid-svg-yIJXIbiVmksbUUVZ .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-yIJXIbiVmksbUUVZ .error-icon{fill:#522}#mermaid-svg-yIJXIbiVmksbUUVZ .error-text{fill:#522;stroke:#522}#mermaid-svg-yIJXIbiVmksbUUVZ .edge-thickness-normal{stroke-width:2px}#mermaid-svg-yIJXIbiVmksbUUVZ .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-yIJXIbiVmksbUUVZ .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-yIJXIbiVmksbUUVZ .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-yIJXIbiVmksbUUVZ .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-yIJXIbiVmksbUUVZ .marker{fill:#333}#mermaid-svg-yIJXIbiVmksbUUVZ .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-yIJXIbiVmksbUUVZ { color: rgba(0, 0, 0, 0.75); font: ; } 张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五这将产生一个流程图。:
#mermaid-svg-ZzRW0RtyhSG0MUlS .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .label text{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .node rect,#mermaid-svg-ZzRW0RtyhSG0MUlS .node circle,#mermaid-svg-ZzRW0RtyhSG0MUlS .node ellipse,#mermaid-svg-ZzRW0RtyhSG0MUlS .node polygon,#mermaid-svg-ZzRW0RtyhSG0MUlS .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-ZzRW0RtyhSG0MUlS .node .label{text-align:center;fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .node.clickable{cursor:pointer}#mermaid-svg-ZzRW0RtyhSG0MUlS .arrowheadPath{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-ZzRW0RtyhSG0MUlS .flowchart-link{stroke:#333;fill:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-ZzRW0RtyhSG0MUlS .edgeLabel rect{opacity:0.9}#mermaid-svg-ZzRW0RtyhSG0MUlS .edgeLabel span{color:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-ZzRW0RtyhSG0MUlS .cluster text{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS 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-ZzRW0RtyhSG0MUlS .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-ZzRW0RtyhSG0MUlS text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .actor-line{stroke:grey}#mermaid-svg-ZzRW0RtyhSG0MUlS .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .sequenceNumber{fill:#fff}#mermaid-svg-ZzRW0RtyhSG0MUlS #sequencenumber{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS #crosshead path{fill:#333;stroke:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .messageText{fill:#333;stroke:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-ZzRW0RtyhSG0MUlS .labelText,#mermaid-svg-ZzRW0RtyhSG0MUlS .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .loopText,#mermaid-svg-ZzRW0RtyhSG0MUlS .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-ZzRW0RtyhSG0MUlS .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-ZzRW0RtyhSG0MUlS .noteText,#mermaid-svg-ZzRW0RtyhSG0MUlS .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-ZzRW0RtyhSG0MUlS .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-ZzRW0RtyhSG0MUlS .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-ZzRW0RtyhSG0MUlS .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .section{stroke:none;opacity:0.2}#mermaid-svg-ZzRW0RtyhSG0MUlS .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-ZzRW0RtyhSG0MUlS .section2{fill:#fff400}#mermaid-svg-ZzRW0RtyhSG0MUlS .section1,#mermaid-svg-ZzRW0RtyhSG0MUlS .section3{fill:#fff;opacity:0.2}#mermaid-svg-ZzRW0RtyhSG0MUlS .sectionTitle0{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .sectionTitle1{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .sectionTitle2{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .sectionTitle3{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-ZzRW0RtyhSG0MUlS .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .grid path{stroke-width:0}#mermaid-svg-ZzRW0RtyhSG0MUlS .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-ZzRW0RtyhSG0MUlS .task{stroke-width:2}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText:not([font-size]){font-size:11px}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-ZzRW0RtyhSG0MUlS .task.clickable{cursor:pointer}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText0,#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText1,#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText2,#mermaid-svg-ZzRW0RtyhSG0MUlS .taskText3{fill:#fff}#mermaid-svg-ZzRW0RtyhSG0MUlS .task0,#mermaid-svg-ZzRW0RtyhSG0MUlS .task1,#mermaid-svg-ZzRW0RtyhSG0MUlS .task2,#mermaid-svg-ZzRW0RtyhSG0MUlS .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutside0,#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutside2{fill:#000}#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutside1,#mermaid-svg-ZzRW0RtyhSG0MUlS .taskTextOutside3{fill:#000}#mermaid-svg-ZzRW0RtyhSG0MUlS .active0,#mermaid-svg-ZzRW0RtyhSG0MUlS .active1,#mermaid-svg-ZzRW0RtyhSG0MUlS .active2,#mermaid-svg-ZzRW0RtyhSG0MUlS .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-ZzRW0RtyhSG0MUlS .activeText0,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeText1,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeText2,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeText3{fill:#000 !important}#mermaid-svg-ZzRW0RtyhSG0MUlS .done0,#mermaid-svg-ZzRW0RtyhSG0MUlS .done1,#mermaid-svg-ZzRW0RtyhSG0MUlS .done2,#mermaid-svg-ZzRW0RtyhSG0MUlS .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-ZzRW0RtyhSG0MUlS .doneText0,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneText1,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneText2,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneText3{fill:#000 !important}#mermaid-svg-ZzRW0RtyhSG0MUlS .crit0,#mermaid-svg-ZzRW0RtyhSG0MUlS .crit1,#mermaid-svg-ZzRW0RtyhSG0MUlS .crit2,#mermaid-svg-ZzRW0RtyhSG0MUlS .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCrit0,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCrit1,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCrit2,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCrit0,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCrit1,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCrit2,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-ZzRW0RtyhSG0MUlS .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-ZzRW0RtyhSG0MUlS .milestoneText{font-style:italic}#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCritText0,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCritText1,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCritText2,#mermaid-svg-ZzRW0RtyhSG0MUlS .doneCritText3{fill:#000 !important}#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCritText0,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCritText1,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCritText2,#mermaid-svg-ZzRW0RtyhSG0MUlS .activeCritText3{fill:#000 !important}#mermaid-svg-ZzRW0RtyhSG0MUlS .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-ZzRW0RtyhSG0MUlS g.classGroup text .title{font-weight:bolder}#mermaid-svg-ZzRW0RtyhSG0MUlS g.clickable{cursor:pointer}#mermaid-svg-ZzRW0RtyhSG0MUlS g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-ZzRW0RtyhSG0MUlS g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-ZzRW0RtyhSG0MUlS .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-ZzRW0RtyhSG0MUlS .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .dashed-line{stroke-dasharray:3}#mermaid-svg-ZzRW0RtyhSG0MUlS #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS .commit-id,#mermaid-svg-ZzRW0RtyhSG0MUlS .commit-msg,#mermaid-svg-ZzRW0RtyhSG0MUlS .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-ZzRW0RtyhSG0MUlS g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-ZzRW0RtyhSG0MUlS g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-ZzRW0RtyhSG0MUlS g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-ZzRW0RtyhSG0MUlS .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-ZzRW0RtyhSG0MUlS .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-ZzRW0RtyhSG0MUlS .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-ZzRW0RtyhSG0MUlS .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-ZzRW0RtyhSG0MUlS .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-ZzRW0RtyhSG0MUlS .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-ZzRW0RtyhSG0MUlS .edgeLabel text{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-ZzRW0RtyhSG0MUlS .node circle.state-start{fill:black;stroke:black}#mermaid-svg-ZzRW0RtyhSG0MUlS .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-ZzRW0RtyhSG0MUlS #statediagram-barbEnd{fill:#9370db}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-state .divider{stroke:#9370db}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-ZzRW0RtyhSG0MUlS .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-ZzRW0RtyhSG0MUlS .note-edge{stroke-dasharray:5}#mermaid-svg-ZzRW0RtyhSG0MUlS .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-ZzRW0RtyhSG0MUlS .error-icon{fill:#522}#mermaid-svg-ZzRW0RtyhSG0MUlS .error-text{fill:#522;stroke:#522}#mermaid-svg-ZzRW0RtyhSG0MUlS .edge-thickness-normal{stroke-width:2px}#mermaid-svg-ZzRW0RtyhSG0MUlS .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-ZzRW0RtyhSG0MUlS .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-ZzRW0RtyhSG0MUlS .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-ZzRW0RtyhSG0MUlS .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-ZzRW0RtyhSG0MUlS .marker{fill:#333}#mermaid-svg-ZzRW0RtyhSG0MUlS .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-ZzRW0RtyhSG0MUlS { color: rgba(0, 0, 0, 0.75); font: ; } 链接 长方形 圆 圆角长方形 菱形 关于 Mermaid 语法,参考 这儿,我们依旧会支持flowchart的流程图:
Created with Raphaël 2.2.0 开始 我的操作 确认? 结束 yes no 关于 Flowchart流程图 语法,参考 这儿.如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。
如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入, 继续你的创作。
mermaid语法说明 ↩︎
注脚的解释 ↩︎