| 양쪽 이전 판 이전 판 다음 판 | 이전 판 |
| wiki:syntax [2025/12/22 14:24] – [Formatting Syntax] devany | wiki:syntax [2025/12/22 14:38] (현재) – [Internal] devany |
|---|
| |
| [[doku>DokuWiki|도쿠위키]]는 데이터 파일을 최대한 읽기 쉽게 유지하기 위해 간단한 마크업 언어를 지원합니다. 이 페이지는 페이지 편집 시 사용할 수 있는 모든 가능한 문법을 포함하고 있습니다. "이 페이지 편집하기" 버튼을 눌러 이 페이지의 소스를 직접 확인해 보세요. 무언가 테스트해보고 싶다면 [[playground:playground|연습장(playground)]] 페이지를 이용하세요. 간단한 마크업은 [[doku>toolbar|퀵버튼 툴바]]를 통해서도 쉽게 사용할 수 있습니다. | [[doku>DokuWiki|도쿠위키]]는 데이터 파일을 최대한 읽기 쉽게 유지하기 위해 간단한 마크업 언어를 지원합니다. 이 페이지는 페이지 편집 시 사용할 수 있는 모든 가능한 문법을 포함하고 있습니다. "이 페이지 편집하기" 버튼을 눌러 이 페이지의 소스를 직접 확인해 보세요. 무언가 테스트해보고 싶다면 [[playground:playground|연습장(playground)]] 페이지를 이용하세요. 간단한 마크업은 [[doku>toolbar|퀵버튼 툴바]]를 통해서도 쉽게 사용할 수 있습니다. |
| ===== Basic Text Formatting ===== | ===== 기본 텍스트 서식 ===== |
| |
| DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. Of course you can **__//''combine''//__** all these. | 도쿠위키는 **굵게(bold)**, //기울임(italic)//, __밑줄(underlined)__ 및 ''타이핑체(monospaced)'' 텍스트를 지원합니다. 물론 이 모든 서식들을 **__//''혼합''//__**해서 사용할 수도 있습니다. |
| |
| DokuWiki supports **bold**, //italic//, __underlined__ and ''monospaced'' texts. | 도쿠위키는 **굵게(bold)**, //기울임(italic)//, __밑줄(underlined)__ 및 ''타이핑체(monospaced)'' 텍스트를 지원합니다. |
| Of course you can **__//''combine''//__** all these. | 물론 이 모든 서식들을 **__//''혼합''//__**해서 사용할 수도 있습니다. |
| |
| You can use <sub>subscript</sub> and <sup>superscript</sup>, too. | <sub>아래 첨자(subscript)</sub>와 <sup>위 첨자(superscript)</sup>도 사용 가능합니다. |
| |
| You can use <sub>subscript</sub> and <sup>superscript</sup>, too. | <sub>아래 첨자</sub>와 <sup>위 첨자</sup>도 사용할 수 있습니다. |
| |
| You can mark something as <del>deleted</del> as well. | 무언가를 <del>삭제(deleted)</del>된 것으로 표시할 수도 있습니다. |
| |
| You can mark something as <del>deleted</del> as well. | 무언가를 <del>삭제(deleted)</del>된 것으로 표시할 수도 있습니다. |
| |
| **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | **단락(Paragraphs)**은 빈 줄을 통해 생성됩니다. 만약 단락 없이 **강제로 줄바꿈**을 하려면 백슬래시 두 개(`\\`) 뒤에 공백을 넣거나 줄의 끝에서 줄을 바꾸면 됩니다. |
| |
| This is some text with some linebreaks\\ Note that the | 이것은 줄바꿈이 포함된 텍스트입니다\\ 주의할 점은 |
| two backslashes are only recognized at the end of a line\\ | 두 개의 백슬래시는 오직 줄의 끝에서만 인식되거나\\ |
| or followed by\\ a whitespace \\this happens without it. | 혹은 뒤에\\ 공백이 올 때만 인식됩니다 \\이것은 공백이 없어서 그대로 표시됩니다. |
| |
| This is some text with some linebreaks\\ Note that the | 이것은 줄바꿈이 포함된 텍스트입니다\\ 주의할 점은 |
| two backslashes are only recognized at the end of a line\\ | 두 개의 백슬래시는 오직 줄의 끝에서만 인식되거나\\ |
| or followed by\\ a whitespace \\this happens without it. | 혹은 뒤에\\ 공백이 올 때만 인식됩니다 \\이것은 공백이 없어서 그대로 표시됩니다. |
| |
| You should use forced newlines only if really needed. | 강제 줄바꿈은 정말 필요한 경우에만 사용해야 합니다. |
| | ===== 링크 ===== |
| |
| ===== Links ===== | 도쿠위키는 링크를 만드는 다양한 방법을 지원합니다. |
| | ==== 외부 ==== |
| |
| DokuWiki supports multiple ways of creating links. | 외부 링크는 자동으로 인식됩니다: http://www.google.com 또는 단순히 www.google.com - 링크 텍스트를 직접 설정할 수도 있습니다: [[http://www.google.com|이 링크는 구글을 가리킵니다]]. <andi@splitbrain.org>와 같은 이메일 주소도 마찬가지로 인식됩니다. |
| |
| ==== External ==== | 도쿠위키는 링크를 만드는 다양한 방법을 지원합니다. 외부 링크는 자동으로 |
| | 인식됩니다: http://www.google.com 또는 단순히 www.google.com - 링크 텍스트를 |
| | 직접 설정할 수도 있습니다: [[http://www.google.com|이 링크는 구글을 가리킵니다]]. |
| | <andi@splitbrain.org>와 같은 이메일 주소도 마찬가지로 인식됩니다. |
| | ==== 내부 ==== |
| |
| External links are recognized automagically: http://www.google.com or simply www.google.com - You can set the link text as well: [[http://www.google.com|This Link points to google]]. Email addresses like this one: <andi@splitbrain.org> are recognized, too. | 내부 링크는 대괄호를 사용하여 만듭니다. 단순히 [[페이지이름]]만 적거나 추가적인 [[페이지이름|링크 텍스트]]를 사용할 수 있습니다. |
| |
| DokuWiki supports multiple ways of creating links. External links are recognized | 내부 링크는 대괄호를 사용하여 만듭니다. 단순히 [[페이지이름]]만 적거나 |
| automagically: http://www.google.com or simply www.google.com - You can set | 추가적인 [[페이지이름|링크 텍스트]]를 사용할 수 있습니다. |
| link text as well: [[http://www.google.com|This Link points to google]]. Email | |
| addresses like this one: <andi@splitbrain.org> are recognized, too. | |
| |
| ==== Internal ==== | [[도쿠>페이지이름|위키 페이지 이름]]은 자동으로 소문자로 변환되며, 특수 문자는 허용되지 않습니다. |
| |
| Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | 페이지 이름에 콜론을 사용하여 [[어떤:네임스페이스]]를 사용할 수 있습니다. |
| |
| Internal links are created by using square brackets. You can either just give | 페이지 이름에 콜론을 사용하여 [[어떤:네임스페이스]]를 사용할 수 있습니다. |
| a [[pagename]] or use an additional [[pagename|link text]]. | |
| |
| [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, special characters are not allowed. | 네임스페이스에 대한 자세한 내용은 [[doku>namespaces]]를 참조하십시오. |
| |
| You can use [[some:namespaces]] by using a colon in the pagename. | 특정 섹션으로 링크하는 것도 가능합니다. HTML에서 알려진 것처럼 섹션 이름 뒤에 해시(#) 기호를 추가하면 됩니다. 이 링크는 [[syntax#내부|이 섹션]]으로 연결됩니다. |
| |
| You can use [[some:namespaces]] by using a colon in the pagename. | 이 링크는 [[syntax#내부|이 섹션]]으로 연결됩니다. |
| |
| For details about namespaces see [[doku>namespaces]]. | 참고: |
| | |
| Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. | |
| | |
| This links to [[syntax#internal|this Section]]. | |
| | |
| Notes: | |
| | |
| * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | |
| * DokuWiki does not use [[wp>CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled. | |
| * When a section's heading is changed, its bookmark changes, too. So don't rely on section linking too much. | |
| |
| | * [[syntax|존재하는 페이지]]에 대한 링크는 [[존재하지않는페이지]]와는 다른 스타일로 표시됩니다. |
| | * 도쿠위키는 기본적으로 [[wp>CamelCase]]를 자동 링크 생성에 사용하지 않지만, [[doku>config]] 파일에서 이 동작을 활성화할 수 있습니다. 힌트: 만약 DokuWiki가 링크로 표시된다면 활성화된 것입니다. |
| | * 섹션의 제목이 변경되면 해당 북마크도 변경됩니다. 따라서 섹션 링크에 너무 의존하지 마십시오. |
| ==== Interwiki ==== | ==== Interwiki ==== |
| |