Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • GitCode
  • 帮助文档
  • Wiki
    • Docs
    • User
  • markdown

帮
帮助文档
  • 项目概览

GitCode / 帮助文档

通知 1614
Star 124
Fork 140
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 166
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 23
  • DevOps
    • 流水线
    • 流水线任务
    • 计划
  • Wiki 89
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
帮
帮助文档
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 166
    • Issue 166
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 23
    • 合并请求 23
  • Pages
  • DevOps
    • DevOps
    • 流水线
    • 流水线任务
    • 计划
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 89
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 流水线任务
  • 提交
  • Issue看板

markdown · 变更

页面历史
update repo.md 编写于 9月 09, 2020 作者: Lab机器人's avatar Lab机器人
隐藏空白更改
内联 并排
Showing with 7 addition and 7 deletion
+7 -7
  • docs/user/markdown.md docs/user/markdown.md +7 -7
  • 未找到文件。
docs/user/markdown.md
View page @ c733e433
...@@ -127,7 +127,7 @@ GitLab 充分利用了标准(CommonMark)格式,但还包括对 GitLab 用 ...@@ -127,7 +127,7 @@ GitLab 充分利用了标准(CommonMark)格式,但还包括对 GitLab 用
为了生成图表或流程图,您应该在`mermaid`块内编写文本: 为了生成图表或流程图,您应该在`mermaid`块内编写文本:
````markdown ````markdown
```mermaid ​```mermaid
graph TD; graph TD;
A-->B; A-->B;
A-->C; A-->C;
...@@ -136,7 +136,7 @@ graph TD; ...@@ -136,7 +136,7 @@ graph TD;
``` ```
```` ````
```mermaid ​```mermaid
graph TD; graph TD;
A-->B; A-->B;
A-->C; A-->C;
...@@ -147,7 +147,7 @@ graph TD; ...@@ -147,7 +147,7 @@ graph TD;
子图也可以使用: 子图也可以使用:
````markdown ````markdown
```mermaid ​```mermaid
graph TB graph TB
SubGraph1 --> SubGraph1Flow SubGraph1 --> SubGraph1Flow
subgraph "SubGraph 1 Flow" subgraph "SubGraph 1 Flow"
...@@ -163,7 +163,7 @@ end ...@@ -163,7 +163,7 @@ end
``` ```
```` ````
```mermaid ​```mermaid
graph TB graph TB
SubGraph1 --> SubGraph1Flow SubGraph1 --> SubGraph1Flow
subgraph "SubGraph 1 Flow" subgraph "SubGraph 1 Flow"
...@@ -313,7 +313,7 @@ This is on a separate line ...@@ -313,7 +313,7 @@ This is on a separate line
这是单独的一行: 这是单独的一行:
```markdown ​```markdown
a^2+b^2=c^2 a^2+b^2=c^2
``` ```
...@@ -515,7 +515,7 @@ Inline `code` has `back-ticks around` it. ...@@ -515,7 +515,7 @@ Inline `code` has `back-ticks around` it.
同样,整个代码块可以用三个反引号( ````` ),三个波浪号( `~~~` )或缩进 4 个或更多的空格来围起来,以实现较大代码体的相似效果。 同样,整个代码块可以用三个反引号( ````` ),三个波浪号( `~~~` )或缩进 4 个或更多的空格来围起来,以实现较大代码体的相似效果。
```markdown ```markdown
```python def function(): ​```python def function():
#indenting works just fine in the fenced code block #indenting works just fine in the fenced code block
s = "Python code" s = "Python code"
print s print s
...@@ -578,7 +578,7 @@ But let's throw in a <b>tag</b>. ...@@ -578,7 +578,7 @@ But let's throw in a <b>tag</b>.
上面的四个示例呈现为: 上面的四个示例呈现为:
```markdown ​```markdown
var s = "JavaScript syntax highlighting"; var s = "JavaScript syntax highlighting";
alert(s); alert(s);
``` ```
......
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7