From c733e433cad36b7e9599bf161ea5121a3ef60fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=86=8A=E4=BD=B3=E7=89=A7?= Date: Wed, 9 Sep 2020 10:53:35 +0800 Subject: [PATCH] update repo.md --- docs/user/markdown.md | 14 +++++++------- docs/user/project/repo.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/user/markdown.md b/docs/user/markdown.md index e6a1a86..18cb42c 100644 --- a/docs/user/markdown.md +++ b/docs/user/markdown.md @@ -127,7 +127,7 @@ GitLab 充分利用了标准(CommonMark)格式,但还包括对 GitLab 用 为了生成图表或流程图,您应该在`mermaid`块内编写文本: ````markdown -```mermaid +​```mermaid graph TD; A-->B; A-->C; @@ -136,7 +136,7 @@ graph TD; ``` ```` -```mermaid +​```mermaid graph TD; A-->B; A-->C; @@ -147,7 +147,7 @@ graph TD; 子图也可以使用: ````markdown -```mermaid +​```mermaid graph TB SubGraph1 --> SubGraph1Flow subgraph "SubGraph 1 Flow" @@ -163,7 +163,7 @@ end ``` ```` -```mermaid +​```mermaid graph TB SubGraph1 --> SubGraph1Flow subgraph "SubGraph 1 Flow" @@ -313,7 +313,7 @@ This is on a separate line 这是单独的一行: -```markdown +​```markdown a^2+b^2=c^2 ``` @@ -515,7 +515,7 @@ Inline `code` has `back-ticks around` it. 同样,整个代码块可以用三个反引号( ````` ),三个波浪号( `~~~` )或缩进 4 个或更多的空格来围起来,以实现较大代码体的相似效果。 ```markdown -```python def function(): +​```python def function(): #indenting works just fine in the fenced code block s = "Python code" print s @@ -578,7 +578,7 @@ But let's throw in a tag. 上面的四个示例呈现为: -```markdown +​```markdown var s = "JavaScript syntax highlighting"; alert(s); ``` diff --git a/docs/user/project/repo.md b/docs/user/project/repo.md index 86b1185..4d06adf 100644 --- a/docs/user/project/repo.md +++ b/docs/user/project/repo.md @@ -8,7 +8,7 @@ 创建新项目后,您可以通过界面或通过命令行添加新文件, 要从命令行添加文件,请遵循创建新项目时在屏幕上显示的说明。 -> **重要提示:**出于安全原因,强烈建议您在使用命令行时[通过 SSH 与 GitLab 连接](/docs/ssh.md) 。 +> **重要提示:**出于安全原因,强烈建议您在使用命令行时[通过 SSH 与 CODEChina 连接](/docs/ssh.md) 。 ## 文件[](#files "Permalink") -- GitLab