markdown 编辑器的使用教程,java 面试笔试题程序题
直接输入 1 次 #,并按下 space 后,将生成 1 级标题。
输入 2 次 #,并按下 space 后,将生成 2 级标题。
以此类推,我们支持 6 级标题。有助于使用TOC
语法后生成一个完美的目录。
强调文本 强调文本
加粗文本 加粗文本
标记文本
~删除文本~
引用文本
H2O is 是液体。
210 运算结果是 1024.
链接: link.
图片:
带尺寸的图片:
居中的图片:
居中并且带尺寸的图片:
当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。
去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片
.
// An highlighted block
var foo = 'bar';
项目
项目
项目
项目 1
项目 2
项目 3
[ ] 计划任务
[x] 完成任务
一个简单的表格是这么创建的:
| 项目 | Value |
| --- | --- |
| 电脑 | $1600 |
| 手机 | $12 |
| 导管 | $1 |
设定内容居中、居左、居右
使用:---------:
居中
使用:----------
居左
使用----------:
居右
| 第一列 | 第二列 | 第三列 |
| :-: | --: | :-- |
| 第一列文本居中 | 第二列文本居右 | 第三列文本居左 |
SmartyPants
SmartyPants 将 ASCII 标点字符转换为“智能”印刷标点 HTML 实体。例如:
| TYPE | ASCII | HTML |
| --- | --- | --- |
| Single 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
一个具有注脚的文本。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.
Mon 06 Mon 13 Mon 20 已完成 进行中 计划一 计划二 现有任务 Adding GANTT diagram functionality to mermaid
关于 甘特图 语法,参考 这儿,
可以使用 UML 图表进行渲染。 Mermaid. 例如下面产生的一个序列图:
#mermaid-svg-TueW2pGLcusRBIKA .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-TueW2pGLcusRBIKA .label text{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .node rect,#mermaid-svg-TueW2pGLcusRBIKA .node circle,#mermaid-svg-TueW2pGLcusRBIKA .node ellipse,#mermaid-svg-TueW2pGLcusRBIKA .node polygon,#mermaid-svg-TueW2pGLcusRBIKA .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-TueW2pGLcusRBIKA .node .label{text-align:center;fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .node.clickable{cursor:pointer}#mermaid-svg-TueW2pGLcusRBIKA .arrowheadPath{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-TueW2pGLcusRBIKA .flowchart-link{stroke:#333;fill:none}#mermaid-svg-TueW2pGLcusRBIKA .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-TueW2pGLcusRBIKA .edgeLabel rect{opacity:0.9}#mermaid-svg-TueW2pGLcusRBIKA .edgeLabel span{color:#333}#mermaid-svg-TueW2pGLcusRBIKA .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-TueW2pGLcusRBIKA .cluster text{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA 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-TueW2pGLcusRBIKA .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-TueW2pGLcusRBIKA text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-TueW2pGLcusRBIKA .actor-line{stroke:grey}#mermaid-svg-TueW2pGLcusRBIKA .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-TueW2pGLcusRBIKA .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-TueW2pGLcusRBIKA #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-TueW2pGLcusRBIKA .sequenceNumber{fill:#fff}#mermaid-svg-TueW2pGLcusRBIKA #sequencenumber{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA #crosshead path{fill:#333;stroke:#333}#mermaid-svg-TueW2pGLcusRBIKA .messageText{fill:#333;stroke:#333}#mermaid-svg-TueW2pGLcusRBIKA .l
abelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-TueW2pGLcusRBIKA .labelText,#mermaid-svg-TueW2pGLcusRBIKA .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-TueW2pGLcusRBIKA .loopText,#mermaid-svg-TueW2pGLcusRBIKA .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-TueW2pGLcusRBIKA .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-TueW2pGLcusRBIKA .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-TueW2pGLcusRBIKA .noteText,#mermaid-svg-TueW2pGLcusRBIKA .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-TueW2pGLcusRBIKA .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-TueW2pGLcusRBIKA .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-TueW2pGLcusRBIKA .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-TueW2pGLcusRBIKA .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .section{stroke:none;opacity:0.2}#mermaid-svg-TueW2pGLcusRBIKA .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-TueW2pGLcusRBIKA .section2{fill:#fff400}#mermaid-svg-TueW2pGLcusRBIKA .section1,#mermaid-svg-TueW2pGLcusRBIKA .section3{fill:#fff;opacity:0.2}#mermaid-svg-TueW2pGLcusRBIKA .sectionTitle0{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .sectionTitle1{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .sectionTitle2{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .sectionTitle3{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-TueW2pGLcusRBIKA .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .grid path{stroke-width:0}#mermaid-svg-TueW2pGLcusRBIKA .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-TueW2pGLcusRBIKA .task{stroke-width:2}#mermaid-svg-TueW2pGLcusRBIKA .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .taskText:not([font-size]){font-size:11px}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-TueW2pGLcusRBIKA .task.clickable{cursor:pointer}#mermaid-svg-TueW2pGLcusRBIKA .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-TueW2pGLcusRBIKA .taskText0,#mermaid-svg-TueW2pGLcusRBIKA .taskText1,#mermaid-svg-TueW2pGLcusRBIKA .taskText2,#mermaid-svg-TueW2pGLcusRBIKA .taskText3{fill:#fff}#mermaid-svg-TueW2pGLcusRBIKA .task0,#mermaid-svg-TueW2pGLcusRBIKA .task1,#mermaid-svg-TueW2pGLcusRBIKA .task2,#mermaid-svg-TueW2pGLcusRBIKA .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutside0,#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutside2{fill:#000}#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutside1,#mermaid-svg-TueW2pGLcusRBIKA .taskTextOutside3{fill:#000}#mermaid-svg-TueW2pGLcusRBIKA .active0,#mermaid-svg-TueW2pGLcusRBIKA .active1,#mermaid-svg-TueW2pGLcusRBIKA .active2,#mermaid-svg-TueW2pGLcusRBIKA .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-TueW2pGLcusRBIKA .activeText0,#mermaid-svg-TueW2pGLcusRBIKA .activeText1,#mermaid-svg-TueW2pGLcusRBIKA .activeText2,#mermaid-svg-TueW2pGLcusRBIKA .activeText3{fill:#000 !important}#mermaid-svg-TueW2pGLcusRBIKA .done0,#mermaid-svg-TueW2pGLcusRBIKA .done1,#mermaid-svg-TueW2pGLcusRBIKA .done2,#mermaid-svg-TueW2pGLcusRBIKA .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-TueW2pGLcusRBIKA .doneText0,#mermaid-svg-TueW2pGLcusRBIKA .doneText1,#mermaid-svg-TueW2pGLcusRBIKA .doneText2,#mermaid-svg-TueW2pGLcusRBIKA .doneText3{fill:#000 !important}#mermaid-svg-TueW2pGLcusRBIKA .crit0,#mermaid-svg-TueW2pGLcusRBIKA .crit1,#mermaid-svg-TueW2pGLcusRBIKA .crit2,#mermaid-svg-TueW2pGLcusRBIKA .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-TueW2pGLcusRBIKA .activeCrit0,#mermaid-svg-TueW2pGLcusRBIKA .activeCrit1,#mermaid-svg-TueW2pGLcusRBIKA .activeCrit2,#mermaid-svg-TueW2pGLcusRBIKA .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-TueW2pGLcusRBIKA .doneCrit0,#mermaid-svg-TueW2pGLcusRBIKA .doneCrit1,#mermaid-svg-TueW2pGLcusRBIKA .doneCrit2,#mermaid-svg-TueW2pGLcusRBIKA .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-TueW2pGLcusRBIKA .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-TueW2pGLcusRBIKA .milestoneText{font-style:italic}#mermaid-svg-TueW2pGLcusRBIKA .doneCritText0,#mermaid-svg-TueW2pGLcusRBIKA .doneCritText1,#mermaid-svg-TueW2pGLcusRBIKA .doneCritText2,#mermaid-svg-TueW2pGLcusRBIKA .doneCritText3{fill:#000 !important}#mermaid-svg-TueW2pGLcusRBIKA .activeCritText0,#mermaid-svg-TueW2pGLcusRBIKA .activeCritText1,#mermaid-svg-TueW2pGLcusRBIKA .activeCritText2,#mermaid-svg-TueW2pGLcusRBIKA .activeCritText3{fill:#000 !important}#mermaid-svg-TueW2pGLcusRBIKA .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-TueW2pGLcusRBIKA g.classGroup text .title{font-weight:bolder}#mermaid-svg-TueW2pGLcusRBIKA g.clickable{cursor:pointer}#mermaid-svg-TueW2pGLcusRBIKA g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-TueW2pGLcusRBIKA g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-TueW2pGLcusRBIKA .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-TueW2pGLcusRBIKA .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-TueW2pGLcusRBIKA .dashed-line{stroke-dasharray:3}#mermaid-svg-TueW2pGLcusRBIKA #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA .commit-id,#mermaid-svg-TueW2pGLcusRBIKA .commit-msg,#mermaid-svg-TueW2pGLcusRBIKA .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-TueW2pGLcusRBIKA g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-TueW2pGLcusRBIKA g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-TueW2pGLcusRBIKA g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-TueW2pGLcusRBIKA .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-TueW2pGLcusRBIKA .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-TueW2pGLcusRBIKA .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-TueW2pGLcusRBIKA .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-TueW2pGLcusRBIKA .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-TueW2pGLcusRBIKA .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-TueW2pGLcusRBIKA .edgeLabel text{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-TueW2pGLcusRBIKA .node circle.state-start{fill:black;stroke:black}#mermaid-svg-TueW2pGLcusRBIKA .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-TueW2pGLcusRBIKA #statediagram-barbEnd{fill:#9370db}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-state .divider{stroke:#9370db}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-TueW2pGLcusRBIKA .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-TueW2pGLcusRBIKA .note-edge{stroke-dasharray:5}#mermaid-svg-TueW2pGLcusRBIKA .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-TueW2pGLcusRBIKA .error-icon{fill:#522}#mermaid-svg-TueW2pGLcusRBIKA .error-text{fill:#522;stroke:#522}#mermaid-svg-TueW2pGLcusRBIKA .edge-thickness-normal{stroke-width:2px}#mermaid-svg-TueW2pGLcusRBIKA .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-TueW2pGLcusRBIKA .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-TueW2pGLcusRBIKA .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-TueW2pGLcusRBIKA .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-TueW2pGLcusRBIKA .marker{fill:#333}#mermaid-svg-TueW2pGLcusRBIKA .marker.cross{stroke:#333} :root { --mermaid-font-family: "trebuchet ms", verdana, arial;} #mermaid-svg-TueW2pGLcusRBIKA { color: rgba(0, 0, 0, 0.75); font: ; } 张三 李四 王五 你好!李四, 最近怎么样? 你最近怎么样,王五? 我很好,谢谢! 我很好,谢谢! 李四想了很长时间, 文字太长了 不适合放在一行. 打量着王五... 很好... 王五, 你怎么样? 张三 李四 王五
这将产生一个流程图。:
评论