Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:syntax [2016/05/12 09:19] – [제목 5] ledyxwiki:syntax [2022/05/17 11:36] (current) – [넘겨주기 (Redirect)] ledyx
Line 1: Line 1:
-Dokuwiki 전체 기본 문법 = +문법 = 
-https://www.dokuwiki.org/ko:syntax + 
-\\ + 
-**※ 예외 : Mediawiki 문법을 사용할 수 있다.** +== 기본 문법 =
-① "<nowiki>=</nowiki>"가 적을 수록 대분류이다. (일반적인 Dokuwiki의 역) + 
-Mediawiki와의 호환성 유지 및 헤깔림 방지를 위해 사용한다.+기본적으로 [[https://www.dokuwiki.org/plugin:creole|Creole]] 문법을 따른다. 
 + 
 + 
 +=== 문단 ==
 <code> <code>
 = 제목1 = = 제목1 =
Line 11: Line 15:
  
 * Bug\\ <nowiki>"=>"</nowiki> 표현이 => 인 데, 문단으로 인식하여 엉킨다. <nowiki><nowiki></nowiki></nowiki>를 잘 활용하면 해결된다. * Bug\\ <nowiki>"=>"</nowiki> 표현이 => 인 데, 문단으로 인식하여 엉킨다. <nowiki><nowiki></nowiki></nowiki>를 잘 활용하면 해결된다.
-= 제목1 = +
-===== 제목 5 =====+
  
 \\ \\
  
-② 목록 표기법은 Mediawiki식과 혼용이 가능하지만 **기존 Dokuwiki 문법과 충돌이 일어나므로 <fc red>사용을 금지한다.</fc>** \\ 그러므로 Dokuwiki 문법을 따른다.+=== 목록 ===
 <code> <code>
-//Dokuwiki 
   * aaa   * aaa
     * bbb     * bbb
Line 24: Line 26:
     - yyy     - yyy
  
-//Mediawiki 
-* aaa 
-** bbb       //주의! **TEXT**는 "진하게" 문자열 효과!! 
-# xxx 
-## yyy 
 </code> </code>
 +
   * aaa   * aaa
     * bbb     * bbb
Line 36: Line 34:
  
  
-③ 기본 문자열 입력 방법+=== 문자열 === 
   * 개행 : <nowiki>\\ (※ 뒤 공백 포함!)</nowiki>   * 개행 : <nowiki>\\ (※ 뒤 공백 포함!)</nowiki>
   * 밑줄(Underline) : <nowiki>__문자열__</nowiki>   * 밑줄(Underline) : <nowiki>__문자열__</nowiki>
Line 80: Line 79:
 </code> </code>
  
-== 표(Table) ==+ 
 +== 문자열 꾸미기 (Typography) == 
 + 
 +https://www.dokuwiki.org/plugin:typography 
 + 
 + 
 +^  short name  ^ css property name ^ description ^ 
 +|  ''fc''  | color             | color of text | 
 +|  ''bg''  | background-color  | background color of text | 
 +|  ''fs''  | font-size         | font size of text (large or small) | 
 +|  ''fw''  | font-weight       | weight of a font (thick or thin characters in text) | 
 +|  ''fv''  | font-variant      | display text in a small-caps font | 
 +|  ''ff''  | font-family       | font family for text, must be single quoted if a font name contains white-space and non-ASCII characters | 
 +|  ''lh''  | line-height       | space between the lines | 
 +|  ''ls''  | letter-spacing    | an extra space between characters  (in px, em, etc) | 
 +|  ''ws''  | word-spacing      | an additional space between words (in px, em, etc) | 
 +|  ''sp''  | white-space       | specifies how white-space is handled (preserve or collapse) | 
 +|  ''va''  | vertical-align    | sets the vertical alignment | 
 +|  -       | text-transform    | controls the capitalization of text (capitalize, uppercase or lowercase)| 
 +|  -       | text-shadow       | adds shadow to text | 
 +|  ''wf''  | (web-font)        | specify a web font class which prefixed "wf-"
 + 
 + 
 + 
 +== 공지(Note) == 
 + 
 +https://www.dokuwiki.org/plugin:note 
 + 
 +특정 페이지의 요약 설명이나 공지를 나타내는 기능. 
 + 
 +<code> 
 +'OPTION' : important, warning, tip 
 + 
 +<note 'OPTION'> 
 +Some messages... 
 +</note> 
 +</code> 
 + 
 +<note> 
 +empty 
 +</note> 
 + 
 +<note important> 
 +important 
 +</note> 
 + 
 +<note warning> 
 +warning 
 +</note> 
 + 
 +<note tip> 
 +tip 
 +</note> 
 + 
 + 
 +== 표 (Table) ==
 <code> <code>
 |<70%>| |<70%>|
Line 101: Line 155:
   * https://www.dokuwiki.org/plugin:tablewidth   * https://www.dokuwiki.org/plugin:tablewidth
   * https://www.dokuwiki.org/plugin:exttab3 (Mediawiki식)   * https://www.dokuwiki.org/plugin:exttab3 (Mediawiki식)
 +
 +
 == 넘겨주기 (Redirect) == == 넘겨주기 (Redirect) ==
 +
 +https://www.dokuwiki.org/plugin:pageredirect
 +
 <code> <code>
-~~REDIRECT>페이지명~~+~~REDIRECT>namespace:page~~ 
 +#redirect namespace:page
 </code> </code>
  
Line 126: Line 186:
  
 == Tag/Category == == Tag/Category ==
 +
 +같은 주제로 묶어서 탐색할 때 사용
 +
 https://www.dokuwiki.org/plugin:tag https://www.dokuwiki.org/plugin:tag
 <code> <code>
-{{tag>[list of tags]}}+{{tag>문법 syntax wiki_syntax}}
 </code> </code>
-{{tag>문법 Syntax}}+ 
 +{{tag>문법 Syntax wiki_syntax}} 
 + 
 + 
 +== 참조 == 
 +https://www.dokuwiki.org/plugin:refnotes:syntax 
  
 == Indexmenu (File tree) == == Indexmenu (File tree) ==
Line 141: Line 210:
 \\  \\ 
  
-== 토론(Discussion) ==+== 토론 (Discussion) == 
 https://www.dokuwiki.org/plugin:discussion https://www.dokuwiki.org/plugin:discussion
 +
 +작성한 페이지에 댓글을 달아 사용자간 소통할 수 있는 기능
 +
 <code> <code>
-~~DISCUSSION~~ +~~DISCUSSION:closed~~ 
-~~DISCUSSION:off~~+~~DISCUSSION:closed~~
 ~~DISCUSSION:closed~~ ~~DISCUSSION:closed~~
  
-~~DISCUSSION|Custom Title String~~+~~DISCUSSION:closed|Custom Title String~~
 ~~DISCUSSION:closed|Custom Title String~~ ~~DISCUSSION:closed|Custom Title String~~
 </code> </code>
-~~DISCUSSION~~ 
- 
  
wiki/syntax.1463041167.txt.gz · Last modified: 2021/02/07 03:15 (external edit)