You can use GFM in the following areas:
.md
extension)- `#F00`
- `#F00A`
- `#FF0000`
- `#FF0000AA`
- `RGB(0,255,0)`
- `RGB(0%,100%,0%)`
- `RGBA(0,255,0,0.3)`
- `HSL(540,70%,50%)`
- `HSLA(540,70%,50%,0.3)`
#F00
HSLA(540,70%,50%,0.3)
Mermaid 또는 PlantUML을 사용하여 GitLab의 텍스트에서 다이어그램과 순서도를 생성할 수 있습니다.
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
```
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
하위 그래프도 포함될 수 있습니다.
```mermaid
graph TB
SubGraph1 --> SubGraph1Flow
subgraph "SubGraph 1 Flow"
SubGraph1Flow(SubNode 1)
SubGraph1Flow -- Choice1 --> DoChoice1
SubGraph1Flow -- Choice2 --> DoChoice2
end
subgraph "Main Graph"
Node1[Node 1] --> Node2[Node 2]
Node2 --> SubGraph1[Jump to SubGraph1]
SubGraph1 --> FinalThing[Final Thing]
end
```
graph TB
SubGraph1 --> SubGraph1Flow
subgraph "SubGraph 1 Flow"
SubGraph1Flow(SubNode 1)
SubGraph1Flow -- Choice1 --> DoChoice1
SubGraph1Flow -- Choice2 --> DoChoice2
end
subgraph "Main Graph"
Node1[Node 1] --> Node2[Node 2]
Node2 --> SubGraph1[Jump to SubGraph1]
SubGraph1 --> FinalThing[Final Thing]
end
PlantUML 예시
---
): ---
title : About Front Matter
example:
language: yaml
---
+++
): +++
title = "About Front Matter"
[example]
language = "toml"
+++
;;;
): ;;;
{
"title": "About Front Matter"
"example" : {
"language" : "json"
}
}
;;;
인라인 diff 태그를 사용하면 {+ addition+}
또는 [- deletion -]
를 표시
- {+ addition 1 +}
- [+ addition 2 +]
- {- deletion 3 -}
- [- deletion 4 -]
wrapping tags({, [, ], }
) 혼합 사용 불가
- [- deletion 4 -}
- {- deletion 4 -]
달러($) 기호 사이에 쓰여진 수학은 텍스트와 함께 인라인으로 렌더링
This math is inline $`a^2+b^2=c^2`$.
This math is inline .
수학으로 선언된 언어로 코드 블록 내부에 작성된 수학은 별도의 줄에 렌더링
```math
a^2+b^2=c^2
```
a^2+b^2=c^2
- [x] Completed task
- [ ] Incomplete task
- [ ] Sub-task 1
- [x] Sub-task 2
- [ ] Sub-task 3
1. [x] Completed task
1. [ ] Incomplete task
1. [ ] Sub-task 1
1. [x] Sub-task 2
[[_TOC_]]
[[TOC]]
documentation
페이지로 연결됩니다.[Link to Documentation](documentation)
your_wiki /documentation/related
의 페이지에 있는 경우 your_wiki /documentation/file.md
로 연결됩니다.[Link to File](file.md)
./<page>
, .../<page>
등을 사용하여 현재 위키 페이지에 상대적인 링크를 구성할 수 있습니다.your_wiki /documentation/main
의 페이지에 있는 경우 your_wiki /documentation/related
로 연결됩니다.[Link to Related Page](related)
your_wiki /documentation/related/content
의 페이지에 있는 경우 your_wiki /documentation/main
으로 연결됩니다.[Link to Related Page](../main)
your_wiki /documentation/main
의 페이지에 있는 경우 your_wiki /documentation/related.md
로 연결됩니다.[Link to Related Page](related.md)
your_wiki /documentation/related/content
의 페이지에 있는 경우 your_wiki /documentation/main.md
로 연결됩니다.[Link to Related Page](../main.md)
/
로 시작하는 링크는 위키 루트에 상대적입니다.<wiki_root>/documentation
으로 연결됩니다.[관련 페이지 링크](/문서)
<wiki_root>/miscellaneous.md
에 연결됩니다.[관련페이지 바로가기](/miscellaneous.md)
>
으로 blockquote 줄을 시작하여 생성됩니다.> Blockquotes are very handy to emulate reply text.
> This line is part of the same quote.
Quote break.
> This is a very long line that is still quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can *put* **Markdown** into a blockquote.
Blockquotes are very handy to emulate reply text.
This line is part of the same quote.
Quote break.
This is a very long line that is still quoted properly when it wraps. Oh boy let's keep writing to make sure this is long enough to actually wrap for everyone. Oh, you can put Markdown into a blockquote.
```
If you paste a message from somewhere else
that spans multiple lines,
you can quote that without having to manually prepend `>` to every line!
```
If you paste a message from somewhere else
that spans multiple lines,
you can quote that without having to manually prepend `>` to every line!
단순한 텍스트가 아닌 코드로 표시되어야 하는 모든 항목을 강조 표시할 수 있습니다.
간단한 인라인 코드는 단일 백틱(`)으로 강조 표시됩니다.
Inline `code` has `back-ticks around` it.
Inline code
has back-ticks around
it.
전체 코드 블록은 삼중 백틱(```)
, 삼중 물결표(~~~)
또는 들여쓰기 4개 이상의 공백
으로 분리되어 더 큰 코드 본문에 대해 유사한 효과를 얻을 수 있습니다.
삼중 백틱(```)
```python
def function():
#indenting works just fine in the fenced code block
s = "Python code"
print s
```python
def function():
#indenting works just fine in the fenced code block
s = "Python code"
print s
삼중 물결표(~~~)
~~~
Tildes are OK too.
~~~
Tildes are OK too.
세 개의 백틱(```)
또는 세 개의 물결표(~~~)
가 있는 줄로 구분되며 첫 번째 펜스의 끝에 언어가 식별됩니다.```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```
```python
def function():
#indenting works just fine in the fenced code block
s = "Python syntax highlighting"
print s
```
```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```
```
언어가 표시되지 않으므로 구문 강조 표시가 없습니다.
s = "There is no highlighting for this."
But let's throw in a <b>tag</b>.
```
var s = "JavaScript syntax highlighting";
alert(s);
def function():
#indenting works just fine in the fenced code block
s = "Python syntax highlighting"
print s
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
언어가 표시되지 않으므로 구문 강조 표시가 없습니다.
s = "There is no highlighting for this."
But let's throw in a <b>tag</b>.
Emphasis, aka italics, with *asterisks* or _underscores_.
Emphasis, aka italics, with asterisks or underscores.Strong emphasis, aka bold, with double **asterisks** or __underscores__.
Strong emphasis, aka bold, with double asterisks or underscores.Combined emphasis with **asterisks and _underscores_**.
Combined emphasis with asterisks and underscores.Strikethrough uses two tildes. ~~Scratch this.~~
Strikethrough uses two tildes. perform_complicated_task
do_this_and_do_that_and_another_thing
but_emphasis is_desired _here_
perform_complicated_task
do_this_and_do_that_and_another_thing
butemphasis is_desired _here
단어의 일부만 강조하려는 경우에도 별표를 사용할 수 있습니다.
perform*complicated*task
do*this*and*do*that*and*another thing
performcomplicatedtask
dothisanddothatandanother thing
A footnote reference tag looks like this: [^1]
This reference tag is a mix of letters and numbers. [^footnote-42]
[^1]: This is the text inside a footnote.
[^footnote-42]: This is another footnote.
A footnote reference tag looks like this: [^1]
This reference tag is a mix of letters and numbers. [^footnote-42]
[^1]: This is the text inside a footnote.
[^footnote-42]: This is another footnote.
# H1
## H2
### H3
#### H4
##### H5
###### H6
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
======
Alt-H2
------
Alternatively, for H1 and H2, an underline-ish style:
Example:
# This header has spaces in it
## This header has a :thumbsup: in it
# This header has Unicode in it: 한글
## This header has spaces in it
### This header has spaces in it
## This header has 3.5 in it (and parentheses)
Example:
다음 링크 ID를 생성합니다.
1.this-header-has-spaces-in-it
2. this-header-has-a-in-it
3. this-header-has-unicode-in-it-한글
4. this-header-has-spaces-in-it-1
5. this-header-has-spaces-in-it-2
6. this-header-has-3-5-in-it-and-parentheses
Three or more hyphens,
---
asterisks,
***
or underscores
___
Three or more hyphens,
asterisks,
or underscores
Inline-style (hover to see title text):
![alt text](![image](/uploads/4f8e39890b875658b5354173db89d694/image.png) "Title Text")
Reference-style (hover to see title text):
![alt text1][logo]
[logo]: /uploads/b5b8f7c0018ccebaeb6b25d04ccd9de5/image.png "Title Text"
Inline-style (hover to see title text):
Reference-style (hover to see title text):
.mp4
, .m4v
, .mov
, .webm
및 .ogv
입니다.Here's a sample video:
![Sample Video](http://wish.mirero.co.kr/help/user/img/markdown_video.mp4)
Here's a sample video:
.mp3
, .oga
, .ogg
, .spx
및 .wav
입니다.Here's a sample audio clip:
![Sample Audio](http://wish.mirero.co.kr/help/user/img/markdown_audio.mp3)
Here's a sample audio clip:
<dl>
<dt>Definition list</dt>
<dd>Is something people use sometimes.</dd>
<dt>Markdown in HTML</dt>
<dd>Does *not* work **very** well. HTML <em>tags</em> do <b>work</b>, in most cases.</dd>
</dl>
Definition list
Is something people use sometimes.
Markdown in HTML
Does *not* work **very** well. HTML tags do work, in most cases.
<dl>
<dt>Markdown in HTML</dt>
<dd>Does *not* work **very** well. HTML tags work, in most cases.</dd>
<dt>Markdown in HTML</dt>
<dd>
Does *not* work **very** well. HTML tags work, in most cases.
</dd>
</dl>
Markdown in HTML
Does *not* work **very** well. HTML tags work, in most cases.
Markdown in HTML
Does not work very well. HTML tags work, in most cases.
<p>
<details>
<summary>Click this to collapse/fold.</summary>
These details <em>remain</em> <strong>hidden</strong> until expanded.
<pre><code>PASTE LOGS HERE</code></pre>
</details>
</p>
Click this to collapse/fold.
These details remain hidden until expanded.
PASTE LOGS HERE
```html
<details>
<summary>Click this to collapse/fold.</summary>
These details _remain_ **hidden** until expanded.
```
PASTE LOGS HERE
```
</details>
```
Click this to collapse/fold.
These details remain hidden until expanded.
PASTE LOGS HERE
Enter
키를 연속으로 두 번 눌렀을 때와 같이 이전 텍스트가 두 줄 바꿈으로 끝나면 줄 바꿈이 삽입됩니다(새 단락 시작). Enter
한 번 누르기) 다음 문장은 동일한 단락의 일부로 유지됩니다. Here's a line for us to start with.
This longer line is separated from the one above by two newlines, so it is a *separate paragraph*.
This line is also a separate paragraph, but...
These lines are only separated by single newlines,
so they *do not break* and just follow the previous lines
in the *same paragraph*.
Here's a line for us to start with.
This longer line is separated from the one above by two newlines, so it is a separate paragraph.
This line is also a separate paragraph, but...
These lines are only separated by single newlines,
so they do not break and just follow the previous lines
in the same paragraph.
First paragraph.
Another line in the same paragraph.
A third line in the same paragraph, but this time ending with two spaces.{space}{space}
A new line directly under the first paragraph.
Second paragraph.
Another line, this time ending with a backslash.\
A new line due to the previous backslash.
First paragraph.
Another line in the same paragraph.
A third line in the same paragraph, but this time ending with two spaces.
A new line directly under the first paragraph.
Second paragraph.
Another line, this time ending with a backslash.\
A new line due to the previous backslash.
- This is an [inline-style link](https://www.google.com)
- This is a [link to a repository file in the same directory](index.md)
- This is a [relative link to a readme one directory higher](../README.md)
- This is a [link that also has title text](https://www.google.com "This link takes you to Google!")
Using header ID anchors:
- This links to [a section on a different Markdown page, using a "#" and the header ID](index.md#overview)
- This links to [a different section on the same page, using a "#" and the header ID](#header-ids-and-links)
Using references:
- This is a [reference-style link, see below][Arbitrary case-insensitive reference text]
- You can [use numbers for reference-style link definitions, see below][1]
- Or leave it empty and use the [link text itself][], see below.
Some text to show that the reference links can follow later.
[arbitrary case-insensitive reference text]: https://www.mozilla.org/en-US/
[1]: https://slashdot.org
[link text itself]: https://www.reddit.com
Using header ID anchors:
Using references:
Some text to show that the reference links can follow later.
- https://www.google.com
- https://www.google.com
- ftp://ftp.us.debian.org/debian/
- smb://foo/bar/baz
- irc://irc.freenode.net/
- http://localhost:3000
1.
과 같이 목록을 시작하려는 번호를 추가하고 그 뒤에 공백을 추가합니다. 1.
을 반복하는 것이 일반적입니다.1.
이 아닌 다른 숫자로 시작하는 경우, 이를 첫 번째 숫자로 사용하고 거기부터 셉니다.1. First ordered list item
2. Another item
- Unordered sub-list.
1. Actual numbers don't matter, just that it's a number
1. Ordered sub-list
1. Next ordered sub-list item
4. And another item.
-
, *
또는 +
를 추가한 다음 공백을 추가하지만 혼합하여 사용해서는 안 됩니다.Unordered lists can:
- use
- minuses
They can also:
* use
* asterisks
They can even:
+ use
+ pluses
Unordered lists can:
They can also:
They can even:
1. First ordered list item
Second paragraph of first item.
1. Another item
First ordered list item
Second paragraph of first item.
Another item
1. First ordered list item
Paragraph of first item.
1. Another item
First ordered list item
Paragraph of first item.
Another item
x^2
)을 지원하지 않습니다. The formula for water is H<sub>2</sub>O
while the equation for the theory of relativity is E = mc<sup>2</sup>.
The formula for water is H2O
while the equation for the theory of relativity is E = mc2.
|
)로 구분된 헤더가 있습니다.br
태그를 포함하여 줄 바꿈을 강제할 수도 있습니다.|
)로 구분해야 합니다.| header 1 | header 2 | header 3 |
| --- | ------ |----------|
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 is longer | cell 6 is much longer than the others, but that's ok. It eventually wraps the text when the cell is too large for the display size. |
| cell 7 | | cell 9 |
header 1 | header 2 | header 3 |
---|---|---|
cell 1 | cell 2 | cell 3 |
cell 4 | cell 5 is longer | cell 6 is much longer than the others, but that's ok. It eventually wraps the text when the cell is too large for the display size. |
cell 7 | cell 9 |
콜론(:)
을 추가하여 열 내의 텍스트 정렬을 선택할 수 있습니다. 이는 열의 모든 셀에 영향을 줍니다.| Left Aligned | Centered | Right Aligned | Left Aligned | Centered | Right Aligned |
| :--- | :---: | ---: | :----------- | :------: | ------------: |
| Cell 1 | Cell 2 | Cell 3 | Cell 4 | Cell 5 | Cell 6 |
| Cell 7 | Cell 8 | Cell 9 | Cell 10 | Cell 11 | Cell 12 |
Left Aligned | Centered | Right Aligned | Left Aligned | Centered | Right Aligned |
---|---|---|---|---|---|
Cell 1 | Cell 2 | Cell 3 | Cell 4 | Cell 5 | Cell 6 |
Cell 7 | Cell 8 | Cell 9 | Cell 10 | Cell 11 | Cell 12 |
br
태그를 사용하여 셀에 여러 줄이 포함되도록 할 수 있습니다.| Name | Details |
|------|---------|
| Item1 | This is on one line |
| Item2 | This item has:<br>- Multiple items<br>- That we want listed separately |
Name | Details |
---|---|
Item1 | This is on one line |
Item2 | This item has: - Multiple items - That we want listed separately |
확인란
이 있는 작업 목록을 추가할 수 있지만 docs.gitlab.com
에서는 제대로 렌더링되지 않습니다.| header 1 | header 2 |
|----------|----------|
| cell 1 | cell 2 |
| cell 3 | <ul><li> - [ ] Task one </li><li> - [ ] Task two </li></ul> |
header 1 | header 2 |
---|---|
cell 1 | cell 2 |
cell 3 |
|
c1 | c2 | c3 | c4 |
---|---|---|---|
aa1 | bb1 | cc1 | dd1 |
aa2 | bb2 | cc2 | dd2 |
aa3 | bb3 | cc3 | dd3 |
aa4 | bb4 | cc4 | dd4 |
aa5 | bb5 | cc5 | dd5 |
aa6 | bb6 | cc6 | dd6 |
aa7 | bb7 | cc7 | dd7 |
aa8 | bb8 | cc8 | dd8 |
aa9 | bb9 | cc9 | dd9 |
aa10 | bb10 | cc10 | dd10 |
aa11 | bb11 | cc11 | dd11 |
aa12 | bb12 | cc12 | dd12 |
aa13 | bb13 | cc13 | dd13 |
aa14 | bb14 | cc14 | dd14 |
aa15 | bb15 | cc15 | dd15 |