You are here: 대문정보Formatting Syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
wiki:syntax [2014/10/10 12:20]
127.0.0.1 external edit
wiki:syntax [2014/10/16 14:07] (current)
Line 1: Line 1:
-====== ​기본문법 ​======+====== ​Formatting Syntax ​======
  
-{{page>wiki:syntax_nav&​noheader&​nofooter&​noeditbutton}}+[[doku>DokuWiki]] supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:playground|playground]] page. The simpler markup is easily accessible via [[doku>​toolbar|quickbuttons]],​ too.
  
-==== 글자 모양 ​====+===== Basic Text Formatting =====
  
-단어어절문장, 단락 등을 미리 정해진 특수문자로 감싸서 여러 단계로 강조할 수 있다.((위키 문법은 문서를 구조적으로 작성하기 위한 규칙이므로 단순히 꾸미기 위한 마크업을 권장하지 않는다물론 자유롭게 작성하는 일을 금지한다는 뜻은 아니다.))+DokuWiki supports **bold**//italic//__underlined__ and ''​monospaced''​ textsOf course you can **__//''​combine''//​__** all these.
  
-^ 문법 ​                                                 ^ 결과 ​                                ^ +  DokuWiki supports ​**bold**//italic//, __underlined__ and ''​monospaced''​ texts. 
-| <​nowiki>//​기울여서//​ 강조하기</​nowiki> ​               | //​기울여서//​ 강조하기 ​               | +  Of course you can **__//''​combine''​//​__** ​all these.
-| <​nowiki>​**굵게 써서** 더 강조하기<​/nowiki> ​           | **굵게 써서** 더 강조하기 ​           | +
-| <​nowiki>​__밑줄__ 긋기</nowiki> ​                       | __밑줄__ 긋기 ​                       | +
-| <​nowiki><​del>​취소선<​/del> 긋기</nowiki> ​              | <​del>​취소선</​del>​ 긋기 ​              | +
-| <​nowiki>​**//__<​del>​죄다<​/del>__//** 적용하기</​nowiki>​ | **//__<​del>​죄다</​del>​__//​** 적용하기 |+
  
-==== 글자 위치 ====+You can use <​sub>​subscript</​sub>​ and <​sup>​superscript</​sup>,​ too.
  
-^ 문법 ​                                      ^ 결과 ​                     ^ +  ​You can use <sub>subscript</​sub> ​and <sup>superscript</sup>, too.
-| <​nowiki><​sup>​윗 첨자</​sup>​ 쓰기</​nowiki> ​  ​| <​sup>​윗 첨자</​sup>​ 쓰기 ​  | +
-| <​nowiki>​<sub>아랫 첨자</​sub> ​쓰기</nowiki| <​sub>​아랫 첨자</sub쓰기 |+
  
-==== 단락 구분 ====+You can mark something as <​del>​deleted</​del>​ as well.
  
-보통의 문서 편집기에서 글을 쓰듯이 한 줄을 비우면 단락 구분이 된다.+  You can mark something as <​del>​deleted</​del>​ as well.
  
-<div box> +**Paragraphs** are created from blank linesIf you want to **force a newline** without a paragraphyou can use two backslashes followed by a whitespace or the end of line.
-== 문법 == +
-<​code>​ +
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. +
-   +
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariaturExcepteur sint occaecat cupidatat non proidentsunt in culpa qui officia deserunt mollit anim id est laborum. +
-</​code>​ +
-== 결과 ==+
  
-Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.+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.
  
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +  This is some text with some linebreaks\\ Note that the 
-</​div>​+  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.
  
-<div box> +==== External ====
-== 문법 ​==+
  
-<​code>​ +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.orgare recognized, too.
-Come away, O human child!\\ +
-To the waters and the wild\\ +
-With a faery, hand in hand,\\ +
-For the world'​s more full of weeping than you can understand. +
-</code>+
  
-== 결과 ==+  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.
  
-Come away, O human child!\\ +==== Internal ​====
-To the waters and the wild\\ +
-With a faery, hand in hand,\\ +
-For the world'​s more full of weeping than you can understand. +
-</​div>​ +
-==== 연결 ​====+
  
-[[doku>​DokuWiki]]는 링크를 만드는 여러가지 방법을 지원합니다.+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]].
  
-http://​www.google.com 나, 더 간단한 www.google.com 같은 외부 링크는 자동으로 인식됩니다.  +[[doku>​pagename|Wiki pagenames]] are converted to lowercase automaticallyspecial characters are not allowed.
-[[http://​www.google.com|google에 연결]]처럼 연결 이름을 설정할 수도 있으며, +
-<​test@splitbrain.org>​ 형식의 email 주소 역시 자동으로 인식됩니다.+
  
-  http://​www.google.com 나, 더 간단한 www.google.com 같은 외부 링크는 자동으로  +You can use [[some:namespaces]] by using a colon in the pagename.
-  인식됩니다. ​[[http://​www.google.com|google에 연결]]처럼 연결 이름을 설정할 수도  +
-  있으며, <​test@splitbrain.org>​ 형식의 email 주소 역시 자동으로 인식됩니다.+
  
-== 내부 연결 ==+  You can use [[some:​namespaces]] by using a colon in the pagename.
  
-내부 링크는 중첩된 대괄호 문자들을 사용해서 만들수 있습니다. +For details about namespaces see [[doku>namespaces]].
-[[doku>ko:pagename]]처럼 페이지 이름을 그대로 사용하거나  +
-[[doku>​ko:​pagename|표시할 이름]] 처럼 페이지 이름을 직접 설정할 수도 있습니다.+
  
-  ​[[doku>​ko:​pagename]]처럼 페이지 이름을 그대로 사용하거나  +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]].
-  [[doku>​ko:​pagename|표시할 이름]] 처럼 페이지 이름을 직접 설정할 수도 있습니다.+
  
-[[doku>​pagename|Wiki 페이지 이름들]]은 자동으로 소문자로 변환되며,​ 특수문자는 사용할 수 없습니다.+  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.
  
-자세한 부분들은 [[doku>​ko:​namespaces]]를 보기 바랍니다.+==== Interwiki ====
  
-페이지 내의 특정 섹션에 링크하는 하려면 해쉬 기호(#​)에 이어 섹션명을 기술합니다. +DokuWiki supports [[doku>​Interwiki]] links. These are quick links to other WikisFor example this is a link to Wikipedia'​s page about Wikis: ​[[wp>Wiki]].
-[[syntax#​내부 연결|이 섹션]]로 연결됬습니다.+
  
-  [[syntax#​내부 연결|이 섹션]]로 연결됩니다+  ​DokuWiki supports ​[[doku>​Interwiki]] links. These are quick links to other Wikis
-  ​ +  ​For example this is a link to Wikipedia's page about Wikis: ​[[wp>Wiki]].
-페이지 이름에 공백이 있을 경우, 공백이 ​'_'로 변환됩니다. 이것이 마음에 들지 않을 경우 ​[[페이지 이름에 공백 사용]] 항목을 참고하시기 바랍니다.+
  
-주석:+==== Windows Shares ====
  
-  * [[syntax|기존 페이지]]와 링크하는 것과 [[존재하지 않는 페이지]]와 링크하는 것은 표시되는 모습이 다릅니다.+Windows shares like [[\\server\share|this]] are recognized, tooPlease note that these only make sense in a homogeneous user group like a corporate ​[[wp>Intranet]].
-  * 기본적으로 자동적으로 링크를 만들기 위한 ​[[wp>CamelCase]]를 사용하지 않지만, [[doku>​config]]파일에서 변경할 수 있습니다. 만일 DokuWiki가 링크가 되어 있으면 사용이 가능한 상태입니다. +
-  * 섹션의 이름이 바뀐다면,​ 링크 이름 역시 바뀌게 됩니다. 섹션으로의 링크는 너무 많이 사용하지 않도록 하기 바랍니다.+
  
 +  Windows Shares like [[\\server\share|this]] are recognized, too.
  
-==== 인터위키 ====+Notes:
  
-Dokuwiki는 ​[[doku>ko:interwiki|Interwiki]]링크를 사용할 수 있습니다. +  * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone"​). 
-InterWiki는 다른 Wiki에 대한 간편한 링크 방법입니다 +  * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http://​kb.mozillazine.org/​Links_to_local_pages_do_not_work|Mozilla Knowledge Base]]. However, there will still be a JavaScript warning about trying to open a Windows ShareTo remove this warning (for all users), put the following line in ''​conf/​userscript.js'':​
-예를 들어 [[wp>​Wiki]]는 Wikipedia 페이지에 대한 링크입니다.+
  
-  ​Dokuwiki는 [[doku>​ko:​interwiki|Interwiki]]링크를 사용할 수 있습니다. +  ​LANG.nosmblinks = '';​
-  InterWiki는 다른 Wiki에 대한 간편한 링크 방법입니다.  +
-  예를 들어 [[wp>​Wiki]]는 Wikipedia 페이지에 대한 링크입니다.+
  
-==== Windows 공유 폴더 ​====+==== Image Links ====
  
-Windows 공유 폴더도 ​[[\\server\share|this]]처럼 사용할 수 있습니다. +You can also use an image to link to another internal or external page by combining the syntax for links and [[#​images_and_other_files|images]] (see belowlike this:
-다만, [[wp>​Intranet|인트라넷]]환경 같은 단일 사용자 그룹에서만 ​ 적용되는 것에 주의하기 바랍니다. +
- +
-  Windows 공유 폴더도 [[\\server\share|this]]처럼 사용할 수 있습니다. +
- +
-주석: +
- +
-  * 보안상의 이유로, Windows 공유 폴더를 직접 둘러볼 수 있는 것은, 기본적으로 Microsoft Internet Explorer(의 "​로컬 영역"​)에서만 Windows 공유 폴더에 직접 접근 가능합니다. +
-  * Mozilla나 Firefox에서는 [[http://​kb.mozillazine.org/​Links_to_local_pages_don'​t_work|MozillaZine Knowledge Base]] 에 있는 것과 같은 대처방법을 통해 직접 접근할 수 있습니다. +
- +
-==== 그림 연결 ==== +
- +
-다음과 같이 링크에 관련된 문법과 [[#​그림과 그 외의 파일들|그림]] (아래 참조)을 조합하면, ​  +
-내부링크와 외부 링크에 대해 이미지를 이용할 수 있습니다.+
  
   [[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]]   [[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]]
Line 137: Line 96:
 [[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]] [[http://​www.php.net|{{wiki:​dokuwiki-128.png}}]]
  
-주의링크 이름에서만 문법 서식이 사용 가능합니다. +Please noteThe image formatting is the only formatting syntax accepted in link names.
-[[#​그림과 그 외의 파일들|그림]]과 [[#​링크|링크]] 문법은 모두 사용 가능합니다. +
-(그림 크기 변경,​내부 그림, 외부 그림, URL, interwiki 링크 포함)+
  
 +The whole [[#​images_and_other_files|image]] and [[#​links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki links).
  
-==== 각주 ​====+===== Footnotes =====
  
-중첩된 소괄호를 이용하여 각주((이것이 각주))를 추가할 수 있습니다. +You can add footnotes ​((This is a footnote)) by using double parentheses.
-  중첩된 소괄호를 이용하여 각주((이것이 각주))를 추가할 수 있습니다.+
  
 +  You can add footnotes ((This is a footnote)) by using double parentheses.
  
-==== 구간 설정 ​====+===== Sectioning =====
  
-문서 내용을 구조적으로 만들기 위한 구간을 최대 5단계까지 사용 가능합니다.+You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string ''<​nowiki>​~~NOTOC~~</​nowiki>''​ in the document.
  
-구간 이름들을 3개 이상 가지고 있는 경우 목차가 자동적으로 생성됩니다. +==== Headline Level 3 ==== 
-문서 내에 ''<​nowiki>​~~NOTOC~~</​nowiki>''​문자열이 있는 경우 자동적으로 목차가 생성되지 않습니다. +=== Headline Level 4 === 
-==== 3단계 구간 이름 ​==== +== Headline Level 5 ==
-=== 4단계 구간 이름 ​=== +
-== 5단계 구간 이름 ​==+
  
-  ==== 3단계 구간 이름 ​==== +  ==== Headline Level 3 ==== 
-  === 4단계 구간 이름 ​=== +  === Headline Level 4 === 
-  == 5단계 구간 이름 ​==+  == Headline Level 5 ==
  
-대쉬 (-)를 네 개 이상 연속해서 사용한다면수평선을 만들수 있습니다+By using four or more dashesyou can make a horizontal line:
  
 ---- ----
  
 +===== Media Files =====
  
-==== 그림과 다른 파일들 ====+You can include external and internal [[doku>​images|images,​ videos and audio files]] with curly brackets. Optionally you can specify the size of them.
  
-중괄호를 사용하여 [[doku>​ko:images|그림]]을 표시할 수 있습니다(그림 파일이 ​wiki 내부든 외부든 상관 없습니다). 옵션에서 그림 크기도 지정할 수 있습니다.+Real size                       {{wiki:​dokuwiki-128.png}}
  
-실제 크기         {{wiki:​dokuwiki-128.png}}+Resize to given width           {{wiki:​dokuwiki-128.png?50}}
  
-폭 변경           {{wiki:​dokuwiki-128.png?​50}}+Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?​200x50}}
  
-폭과 높이를 변경((그림 가로세로비와 지정된 폭과 높이의 비율이 다른 경우는 크기 조율되기 전에 새로운 가로세로비에 맞춰집니다.))            ​{{wiki:dokuwiki-128.png?200x50}}+Resized external image          ​{{http://​de3.php.net/​images/​php.gif?200x50}}
  
-외부 그림 크기 변경:  {{http://​de3.php.net/​images/​php.gif?​200x50}}+  Real size                       ​{{wiki:​dokuwiki-128.png}} 
 +  Resize to given width: ​           {{wiki:​dokuwiki-128.png?​50}} 
 +  Resize to given width and height: {{wiki:​dokuwiki-128.png?​200x50}} 
 +  Resized external image: ​          {{http://​de3.php.net/​images/​php.gif?​200x50}}
  
-  실제 크기: ​         {{wiki:​dokuwiki-128.png}} 
-  폭 변경: ​           {{wiki:​dokuwiki-128.png?​50}} 
-  폭과 높이 변경: ​     {{wiki:​dokuwiki-128.png?​200x50}} 
-  외부 그림 크기 변경: ​ {{http://​de3.php.net/​images/​php.gif?​200x50}} 
  
-좌,​우측에 공백 문자를 사용하여 정렬 위치를 선택할 수 있습니다.+By using left or right whitespaces you can choose the alignment.
  
 {{ wiki:​dokuwiki-128.png}} {{ wiki:​dokuwiki-128.png}}
Line 196: Line 152:
   {{ wiki:​dokuwiki-128.png }}   {{ wiki:​dokuwiki-128.png }}
  
-물론 그림 이름 역시 추가할 수 있습니다.(대부분의 브라우저에서 툴 팁으로 보여집니다)+Of course, you can add a title (displayed as a tooltip by most browsers), too.
  
-{{ wiki:​dokuwiki-128.png |캡션}}+{{ wiki:​dokuwiki-128.png |This is the caption}}
  
-  {{ wiki:​dokuwiki-128.png |캡션}}+  {{ wiki:​dokuwiki-128.png |This is the caption}}
  
-지정된 그림파일명이 ("gif, jpeg, png"​)가 아니면 (파일 내부든 외부든) 그 파일에 해당하는 링크가 표시되지 않습니다.+For linking an image to another page see [[#Image Links]] above.
  
-그림파일을 다른 문서로 링크하기 위해서는 위 [[#그림 연결]]을 참조해 주십시오.+==== Supported Media Formats ====
  
-==== 목록 ====+DokuWiki can embed the following media formats directly.
  
-Dokuwiki는 번호 목록과 번호없는 목록들을 지원합니다. +| Image | ''​gif'',​ ''​jpg'',​ ''​png'' ​ | 
-스페이스2개로 들여쓰기 후에 번호없는 목록은 ​''​*''​을 사용하거나 번호 목록은 ​''​-''​을 사용합니다.+| Video | ''​webm''​, ''​ogv'',​ ''​mp4''​ | 
 +| Audio | ''​ogg'',​ ''​mp3'',​ ''​wav'' ​ | 
 +| Flash | ''​swf'' ​                   |
  
-  * 목록입니다. +If you specify a filename that is not a supported media format, then it will be displayed as a link instead.
-  * 2번째 항목 +
-    * 다른 레벨이 있을 수도 있습니다. +
-  * 또 다른 항목+
  
-  ​번호 목록입니다+==== Fallback Formats ==== 
-  - 또 다른 항목 + 
-    - 더 깊은 레벨을 사용하려면 단지 들여쓰기를 하면 됩니다. +Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. 
-  - 이상 끝+ 
 +For example consider this embedded mp4 video: 
 + 
 +  {{video.mp4|A funny video}} 
 + 
 +When you upload a ''​video.webm''​ and ''​video.ogv''​ next to the referenced ''​video.mp4'',​ DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser. 
 + 
 +Additionally DokuWiki supports a "​poster"​ image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''​video.jpg''​ file would work. 
 + 
 +===== Lists ===== 
 + 
 +Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a ''​*''​ for unordered lists or a ''​-''​ for ordered ones. 
 + 
 +  * This is a list 
 +  * The second item 
 +    * You may have different levels 
 +  * Another item 
 + 
 +  - The same list but ordered 
 +  - Another item 
 +    - Just use indention for deeper levels 
 +  - That's it
  
 <​code>​ <​code>​
-  * 목록입니다. +  * This is a list 
-  * 2번째 항목 +  * The second item 
-    * 다른 레벨이 있을 수도 있습니다. +    * You may have different levels 
-  * 또 다른 항목+  * Another item
  
-  - 번호 목록입니다. +  - The same list but ordered 
-  - 또 다른 항목 +  - Another item 
-    - 더 깊은 레벨을 사용하려면 단지 들여쓰기를 하면 됩니다. +    - Just use indention for deeper levels 
-  - 이상 끝+  - That's it
 </​code>​ </​code>​
  
-[[doku>ko:faq:lists|목록에 관한 ​FAQ]]도 참조 해 주십시오. +Also take a look at the [[doku>​faq:​lists|FAQ ​on list items]].
  
-==== 문자 변환 ​====+===== Text Conversions =====
  
-DokuWiki는 특정 문자나 문자열을 그림이나 다른 문자, ​HTML 등으로 변환할 수 있습니다.+DokuWiki ​can convert certain pre-defined characters or strings into images or other text or HTML.
  
-문자에서 그림으로의 변환 기능은 주로 스마일리를 통해 사용됩니다문자에서 ​HTML로의 변환기능은 기호의 변환에 사용되지만 다른 ​HTML로 변환하기 위해 설정할 수도 있습니다.+The text to image conversion is mainly done for smileysAnd the text to HTML conversion is used for typography replacements,​ but can be configured to use other HTML as well.
  
-== 문자에서 그림으로 바꾸기 ​==+==== Text to Image Conversions ====
  
-Dokuwiki 는 일반적으로 사용되는 ​[[wp>​emoticon|이모티콘]]을 그림으로 쓸 수 있게 지원합니다. +DokuWiki converts commonly used [[wp>​emoticon]]s to their graphical equivalentsThose [[doku>​Smileys]] ​and other images can be configured and extendedHere is an overview of Smileys included in DokuWiki:
-이와 같은 ​[[doku>​Smileys|스마일리]]나 다른 그림은 독자적인 설정으로 확장할 수 있습니다. 표준적으로 사용할 수 있는 스마일리는 아래와 같습니다.+
  
   * 8-) %%  8-)  %%   * 8-) %%  8-)  %%
Line 268: Line 242:
   * DELETEME %% DELETEME %%   * DELETEME %% DELETEME %%
  
-== 문자에서 ​HTML로의 변환 ​==+==== Text to HTML Conversions ====
  
-기호: [[Dokuwiki]]는 특정 문자열을 활자표기에 대응하는 문자로 변환할 수 있습니다이하는 인식가능한 문자열의 예를 표시합니다.+Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entitiesHere is an example of recognized characters.
  
 -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r)
Line 280: Line 254:
 </​code>​ </​code>​
  
-마찬가지로 어떤 ​HTML 에서도 ​[[doku>:ko:entities|패턴 파일]]을 설정해두면 생성할 수 있게 됩니다.+The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>​entities|pattern file]].
  
-패턴 파일 설정에 의해 변환하는 것 이외에 3가지의 예외가 있습니다. 곱하기 기호 ​(640x480), '싱글 쿼트' ​및 "더블 쿼트"입니다이것들의 변환은 ​[[doku>​config:​typography|설정 옵션]]에서 설정을 끌 수 있습니다.+There are three exceptions which do not come from that pattern file: multiplication entity ​(640x480), 'single' ​and "double quotes"​. ​They can be turned off through a [[doku>​config:​typography|config option]].
  
-==== 인용 ​====+===== Quoting =====
  
-때때로 댓글이거나 코멘트임을 표현하고 싶은 경우에 다음의 문법을 사용합니다.+Some times you want to mark some text to show it's a reply or commentYou can use the following syntax:
  
-  ​내 생각에는 우리가 해야 할 것 같은데.+  ​I think we should do it
   ​   ​
-  > 아니, 하면 안돼+  > No we shouldn'​t
   ​   ​
-  >> ​우리가 해야 돼.+  >> ​WellI say we should
   ​   ​
-  > 정말로?+  > Really?
   ​   ​
-  >> ​그래!+  >> ​Yes!
   ​   ​
-  >>> ​그러면 하지 뭐!+  >>> ​Then lets do it! 
 + 
 +I think we should do it 
 + 
 +> No we shouldn'​t 
 + 
 +>> Well, I say we should 
 + 
 +> Really? 
 + 
 +>> Yes! 
 + 
 +>>>​ Then lets do it! 
 + 
 +===== Tables ===== 
 + 
 +DokuWiki supports a simple syntax to create tables. 
 + 
 +^ Heading 1      ^ Heading 2       ^ Heading 3          ^ 
 +| Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | 
 +| Row 2 Col 1    | some colspan (note the double pipe) || 
 +| Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | 
 + 
 +Table rows have to start and end with a ''​|''​ for normal rows or a ''​^''​ for headers. 
 + 
 +  ^ Heading 1      ^ Heading 2       ^ Heading 3          ^ 
 +  | Row 1 Col 1    | Row 1 Col 2     | Row 1 Col 3        | 
 +  | Row 2 Col 1    | some colspan (note the double pipe) || 
 +  | Row 3 Col 1    | Row 3 Col 2     | Row 3 Col 3        | 
 + 
 +To connect cells horizontally,​ just make the next cell completely empty as shown above. Be sure to have always the same amount of cell separators! 
 + 
 +Vertical tableheaders are possible, too. 
 + 
 +|              ^ Heading 1            ^ Heading 2          ^ 
 +^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | 
 +^ Heading 4    | no colspan this time |                    | 
 +^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | 
 + 
 +As you can see, it's the cell separator before a cell which decides about the formatting:​ 
 + 
 +  |              ^ Heading 1            ^ Heading 2          ^ 
 +  ^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        | 
 +  ^ Heading 4    | no colspan this time |                    | 
 +  ^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | 
 + 
 +You can have rowspans (vertically connected cells) by adding '':::''​ into the cells below the one to which they should connect. 
 + 
 +^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
 +| Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
 +| Row 2 Col 1    | :::                        | Row 2 Col 3        | 
 +| Row 3 Col 1    | :::                        | Row 2 Col 3        | 
 + 
 +Apart from the rowspan syntax those cells should not contain anything else. 
 + 
 +  ^ Heading 1      ^ Heading 2                  ^ Heading 3          ^ 
 +  | Row 1 Col 1    | this cell spans vertically | Row 1 Col 3        | 
 +  | Row 2 Col 1    | :::                        | Row 2 Col 3        | 
 +  | Row 3 Col 1    | :::                        | Row 2 Col 3        | 
 + 
 +You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. 
 + 
 +^           Table with alignment ​          ^^^ 
 +|         ​right| ​   center ​   |left          | 
 +|left          |         ​right| ​   center ​   | 
 +| xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | 
 + 
 +This is how it looks in the source: 
 + 
 +  ^           Table with alignment ​          ^^^ 
 +  |         ​right| ​   center ​   |left          | 
 +  |left          |         ​right| ​   center ​   | 
 +  | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | 
 + 
 +Note: Vertical alignment is not supported. 
 + 
 +===== No Formatting ===== 
 + 
 +If you need to display text exactly like it is typed (without any formatting),​ enclose the area either with ''​%%<​nowiki>​%%''​ tags or even simpler, with double percent signs ''<​nowiki>​%%</​nowiki>''​. 
 + 
 +<​nowiki>​ 
 +This is some text which contains addresses like this: http://​www.splitbrain.org and **formatting**,​ but nothing is done with it. 
 +</​nowiki>​ 
 +The same is true for %%//​__this__ text// with a smiley ;-)%%. 
 + 
 +  <​nowiki>​ 
 +  This is some text which contains addresses like this: http://​www.splitbrain.org and **formatting**,​ but nothing is done with it. 
 +  </​nowiki>​ 
 +  The same is true for %%//​__this__ text// with a smiley ;-)%%. 
 + 
 +===== Code Blocks ===== 
 + 
 +You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags ''​%%<​code>​%%''​ or ''​%%<​file>​%%''​. 
 + 
 +  This is text is indented by two spaces. 
 + 
 +<​code>​ 
 +This is preformatted code all spaces are preserved: like              <-this 
 +</​code>​ 
 + 
 +<​file>​ 
 +This is pretty much the same, but you could use it to show that you quoted a file. 
 +</​file>​ 
 + 
 +Those blocks were created by this source: 
 + 
 +    This is text is indented by two spaces. 
 + 
 +  <​code>​ 
 +  This is preformatted code all spaces are preserved: like              <-this 
 +  </​code>​ 
 + 
 +  <​file>​ 
 +  This is pretty much the same, but you could use it to show that you quoted a file. 
 +  </​file>​ 
 + 
 +==== Syntax Highlighting ==== 
 + 
 +[[wiki:​DokuWiki]] can highlight sourcecode, which makes it easier to read. It uses the [[http://​qbnz.com/​highlighter/​|GeSHi]] Generic Syntax Highlighter -- so any language supported by GeSHi is supported. The syntax uses the same code and file blocks described in the previous section, but this time the name of the language syntax to be highlighted is included inside the tag, e.g. ''<​nowiki><​code java></​nowiki>''​ or ''<​nowiki><​file java></​nowiki>''​. 
 + 
 +<code java> 
 +/** 
 + * The HelloWorldApp class implements an application that 
 + * simply displays "Hello World!"​ to the standard output. 
 + */ 
 +class HelloWorldApp { 
 +    public static void main(String[] args) { 
 +        System.out.println("​Hello World!"​);​ //Display the string. 
 +    } 
 +
 +</​code>​ 
 + 
 +The following language strings are currently recognized: //4cs, 6502acme, 6502kickass,​ 6502tasm, 68000devpac,​ abap, actionscript-french,​ actionscript,​ actionscript3,​ ada, algol68, apache, applescript,​ asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner,​ c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript,​ cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, e, epc, ecmascript, eiffel, email, erlang, euphoria, f1, falcon, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, go, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, html5, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas,​ lotusscript,​ lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, objeck, ocaml-brief,​ ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender,​ pli, plsql, postgresql, povray, powerbuilder,​ powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog,​ tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, uscript, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro,​ visualprolog,​ whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic// 
 + 
 +==== Downloadable Code Blocks ==== 
 + 
 +When you use the ''​%%<​code>​%%''​ or ''​%%<​file>​%%''​ syntax as above, you might want to make the shown code available for download as well. You can do this by specifying a file name after language code like this: 
 + 
 +<​code>​ 
 +<file php myexample.php>​ 
 +<?php echo "hello world!";​ ?> 
 +</​file>​ 
 +</​code>​ 
 + 
 +<file php myexample.php>​ 
 +<?php echo "hello world!";​ ?> 
 +</​file>​ 
 + 
 +If you don't want any highlighting but want a downloadable file, specify a dash (''​-''​) as the language code: ''​%%<​code - myfile.foo>​%%''​. 
 + 
 + 
 +===== Embedding HTML and PHP ===== 
 + 
 +You can embed raw HTML or PHP code into your documents by using the ''​%%<​html>​%%''​ or ''​%%<​php>​%%''​ tags. (Use uppercase tags if you need to enclose block level elements.) 
 + 
 +HTML example: 
 + 
 +<​code>​ 
 +<​html>​ 
 +This is some <span style="​color:​red;​font-size:​150%;">​inline HTML</​span>​ 
 +</​html>​ 
 +<​HTML>​ 
 +<p style="​border:​2px dashed red;">​And this is some block HTML</​p>​ 
 +</​HTML>​ 
 +</​code>​ 
 + 
 +<​html>​ 
 +This is some <span style="​color:​red;​font-size:​150%;">​inline HTML</​span>​ 
 +</​html>​ 
 +<​HTML>​ 
 +<p style="​border:​2px dashed red;">​And this is some block HTML</​p>​ 
 +</​HTML>​ 
 + 
 +PHP example: 
 + 
 +<​code>​ 
 +<​php>​ 
 +echo 'The PHP version: '; 
 +echo phpversion();​ 
 +echo ' (generated inline HTML)';​ 
 +</​php>​ 
 +<​PHP>​ 
 +echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ 
 +echo '<​td>'​.phpversion().'</​td>';​ 
 +echo '</​tr></​table>';​ 
 +</​PHP>​ 
 +</​code>​ 
 + 
 +<​php>​ 
 +echo 'The PHP version: '; 
 +echo phpversion();​ 
 +echo ' (inline HTML)';​ 
 +</​php>​ 
 +<​PHP>​ 
 +echo '<​table class="​inline"><​tr><​td>​The same, but inside a block level element:</​td>';​ 
 +echo '<​td>'​.phpversion().'</​td>';​ 
 +echo '</​tr></​table>';​ 
 +</​PHP>​ 
 + 
 +**Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. 
 + 
 +===== RSS/ATOM Feed Aggregation ===== 
 +[[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http://​simplepie.org/​|SimplePie]] is used. All formats understood by SimplePie can be used in DokuWiki as well. You can influence the rendering by multiple additional space separated parameters:​ 
 + 
 +^ Parameter ​ ^ Description ^ 
 +| any number | will be used as maximum number items to show, defaults to 8 | 
 +| reverse ​   | display the last items in the feed first | 
 +| author ​    | show item authors names | 
 +| date       | show item dates | 
 +| description| show the item description. If [[doku>​config:​htmlok|HTML]] is disabled all tags will be stripped | 
 +| //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | 
 + 
 +The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki:​DokuWiki]] will generally try to supply a cached version of a page, obviously this is inappropriate when the page contains dynamic external content. The parameter tells [[wiki:​DokuWiki]] to re-render the page if it is more than //refresh period// since the page was last rendered. 
 + 
 +**Example:​** 
 + 
 +  {{rss>​http://​slashdot.org/​index.rss 5 author date 1h }}
  
-내 생각에는 우리가 해야 할 것 같은데.+{{rss>​http://​slashdot.org/​index.rss 5 author date 1h }}
  
-> 아니, 하면 안돼 ​ 
  
->> 음, 우리가 해야 돼.+===== Control Macros =====
  
-> 정말로?+Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble:
  
->> 그래!+^ Macro           ^ Description | 
 +| %%~~NOTOC~~%% ​  | If this macro is found on the page, no table of contents will be created | 
 +| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<php>%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call |
  
->>>​ 그러면 하지 뭐!+===== Syntax Plugins =====
  
 +DokuWiki'​s syntax can be extended by [[doku>​plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:​
  
 +~~INFO:​syntaxplugins~~