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 markdown.md 编写于 9月 09, 2020 作者: Miykael_xxm's avatar Miykael_xxm
隐藏空白更改
内联 并排
Showing with 24 addition and 23 deletion
+24 -23
  • docs/user/markdown.md docs/user/markdown.md +24 -23
  • 未找到文件。
docs/user/markdown.md
View page @ 97a83440
...@@ -181,7 +181,7 @@ end ...@@ -181,7 +181,7 @@ end
> 如果未正确呈现,请[在 GitLab 本身中查看它](https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/markdown.md#emoji) . > 如果未正确呈现,请[在 GitLab 本身中查看它](https://gitlab.com/gitlab-org/gitlab/blob/master/doc/user/markdown.md#emoji) .
```markdown ```
Sometimes you want to :monkey: around a bit and add some :star2: to your :speech_balloon:. Well we have a gift for you: Sometimes you want to :monkey: around a bit and add some :star2: to your :speech_balloon:. Well we have a gift for you:
:zap: You can use emoji anywhere GFM is supported. :v: :zap: You can use emoji anywhere GFM is supported. :v:
You can use it to point out a :bug: or warn about :speak_no_evil: patches. And if someone improves your really :snail: code, send them some :birthday:. People will :heart: you for that. You can use it to point out a :bug: or warn about :speak_no_evil: patches. And if someone improves your really :snail: code, send them some :birthday:. People will :heart: you for that.
...@@ -209,7 +209,7 @@ Front matter 是 Markdown 文档开头,内容之前的元数据。 静态站 ...@@ -209,7 +209,7 @@ Front matter 是 Markdown 文档开头,内容之前的元数据。 静态站
* YAML( `---` ): * YAML( `---` ):
```markdown ```
--- ---
title: About Front Matter title: About Front Matter
example: example:
...@@ -219,30 +219,30 @@ Front matter 是 Markdown 文档开头,内容之前的元数据。 静态站 ...@@ -219,30 +219,30 @@ Front matter 是 Markdown 文档开头,内容之前的元数据。 静态站
* TOML( `+++` ): * TOML( `+++` ):
```markdown ```
+++ +++
title = "About Front Matter" title = "About Front Matter"
[example] [example]
language = "toml" language = "toml"
+++ +++
``` ```
* JSON( `;;;` ): * JSON( `;;;` ):
```markdown ```
;;; ;;;
{ {
"title": "About Front Matter" "title": "About Front Matter"
"example": { "example": {
"language": "json" "language": "json"
} }
} }
;;; ;;;
``` ```
通过向任何现有定界符添加说明符来支持其他语言, 例如: 通过向任何现有定界符添加说明符来支持其他语言, 例如:
```markdown ```
---php ---php
$title = "About Front Matter"; $title = "About Front Matter";
$example = array( $example = array(
...@@ -305,7 +305,8 @@ $example = array( ...@@ -305,7 +305,8 @@ $example = array(
````markdown ````markdown
This math is inline $`a^2+b^2=c^2`$. This math is inline $`a^2+b^2=c^2`$.
This is on a separate line This is on a separate line
​```math a^2+b^2=c^2 ```
math a^2+b^2=c^2
``` ```
```` ````
...@@ -313,7 +314,7 @@ This is on a separate line ...@@ -313,7 +314,7 @@ This is on a separate line
这是单独的一行: 这是单独的一行:
​```markdown ```
a^2+b^2=c^2 a^2+b^2=c^2
``` ```
...@@ -365,7 +366,7 @@ GFM 将识别以下内容: ...@@ -365,7 +366,7 @@ GFM 将识别以下内容:
要创建任务列表,请添加特殊格式的 Markdown 列表, 您可以使用无序列表或有序列表: 要创建任务列表,请添加特殊格式的 Markdown 列表, 您可以使用无序列表或有序列表:
```markdown ```
- [x] Completed task - [x] Completed task
- [ ] Incomplete task - [ ] Incomplete task
- [ ] Sub-task 1 - [ ] Sub-task 1
...@@ -391,7 +392,7 @@ GFM 将识别以下内容: ...@@ -391,7 +392,7 @@ GFM 将识别以下内容:
通过在标记行上添加`[[_TOC_]]`标记,您可以将目录添加到 Markdown 文件,Wiki 页面或发布/合并请求描述中。 它将显示为链接到各种标题的无序列表。 通过在标记行上添加`[[_TOC_]]`标记,您可以将目录添加到 Markdown 文件,Wiki 页面或发布/合并请求描述中。 它将显示为链接到各种标题的无序列表。
```markdown ```
This is an intro sentence to my Wiki page. This is an intro sentence to my Wiki page.
[[_TOC_]] [[_TOC_]]
## My first heading ## My first heading
......
渝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