차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판이전 판
다음 판
이전 판
마지막 판양쪽 다음 판
tech:creole [2014/04/22 08:46] V_Ltech:creole [2017/12/06 14:15] – [Dokuwiki Creole Plugin] V_L
줄 1: 줄 1:
 +====== "Creole" (위키의 표준화)======
 +
 +
 +[[wp>Wikipedia]]의 성공과 더불어 시작한 위키 광풍에 의해 많은 종류의 위키가 만들어 졌다. http://www.wikimatrix.org 를 보면 100여개의 서로 다른 위키가 있는 것을 알 수 있다. **문제는 각각 문법이 달라 서로 호환이 되지 않는다는 것..**
 +[[Mediawiki]], [[wikispaces]], [[도쿠위키]] 세개의 엔진을 거쳐 온 사용자의 입장에서 표준적 위키 문법이 지원되는 환경이 아쉽다.  
 +변환기가 있으나 Mediawiki를 비롯한 몇몇 인기있는 위키에만 집중되어 있다. 
 +
 +http://www.wikicreole.org 에서는 위키문법의 표준화를 위해 노력하고 있으며, 그 결실로 [[http://www.wikicreole.org/wiki/Creole1.0|Creole 1.0]]을 제정하였다. 
 +모든 위키가 사라지고 모두 한 곳으로만 뛰어 갈 수는 없겠지만, 표준화를 위한 노력은 칭찬해 주고 싶다. 
 +
 +현재 [[http://wiki.wikicreole.org/|Creole 2.0]]을 준비중이다.
 +여러 위키의 제작자들이 [[http://www.wikicreole.org|Creole]]의 [[http://www.wikicreole.org/wiki/Engines|지원을 약속]]하였으며, dokuwiki도 [[http://www.dokuwiki.org/plugin:creole|이를 위한 plugin]]이 있으나, 아직 1.0을 완전히 지원하지는 못한다. 
 +
 +[[:망했어요|망했다고 본다.]] 
 +
 +
 +{{ :wiki:creole-1.0.png|}}
 +
 + 
 +====== WM creole======
 +wikinote http://earendil75.egloos.com/
 +
 +====== Description ======
 +
 +The [[http://www.wikicreole.org/wiki/Creole0.3|Creole 0.3 Specs]] (2006-12-19) are very close to the [[::syntax]] used by DokuWiki. Only those elements differ:
 +
 +  * [[:wiki#Listblock]]
 +  * [[:wiki#Headings]]
 +  * [[:wiki#Linebreaks]]
 +  * [[:wiki#Preformatted]]
 +  * [[:wiki#Tables]] (optional ending pipe not yet supported -- I'm working on a new version)
 +
 +This [[wiki:plugins|Plugin]] will interpret Creole elements that are not understood by DokuWiki. If the markup collides (as with the header level order), by default DokuWiki's standard markup takes precedence.((You can change the markup precedence to Creole with the [[::config]] manager, if you want full Creole support.)) With the exception of the changed behaviour for linebreaks, all your existing wiki pages will look the same.
 +
 +If you use this plugin to support the Creole syntax, you might want to list your wiki at http://www.wikicreole.org/wiki/WikisSupportingCreole
 +
 +===== Components =====
 +
 +==== Listblock ====
 +
 +Creole style ordered and unordered lists use a slightly different markup:
 +
 +Creole (and DokuWiki):
 +
 +<code>
 +  * Item 1          (  * Item 1     )
 +** Item 1.1          * Item 1.1 )
 +  * Item 2          (  * Item 2     )
 +</code>
 +
 +Output:
 +
 +  * Item 1
 +** Item 1.1
 +  * Item 2
 +
 +Creole (and DokuWiki):
 +
 +<code>
 +# Item 1          (  - Item 1     )
 +## Item 1.1          - Item 1.1 )
 +# Item 2          (  - Item 2     )
 +</code>
 +
 +Output:
 +
 +# Item 1
 +## Item 1.1
 +# Item 2
 +
 +
 +==== Headings ====
 +
 +In Creole, the header ordering is just the other way round. If you have set the markup precedence option to DokuWiki (default), this plugin will assume headers are DokuWiki style if there are equal signs after the title. In Creole, closing (right-side) equal signs are optional. So if omit them, headers are interpreted as Creole.
 +
 +Creole (and DokuWiki):
 +
 +<code>
 += Level 1        (=== Level 1 ===)
 +===== Level 2       (== Level 2 ==  )=====
 +==== Level 3      (=== Level 3 ===    )====
 +=== Level 4     (==== Level 4 ====      )
 +== Level 5    (===== Level 5 =====        )
 +</code>
 +====== Level 1======
 +===== Level 2=====
 +==== Level 3====
 +=== Level 4===
 +== Level 5==
 +
 +
 +
 +==== Linebreaks ====
 +
 +DokuWiki does not care about (single) line breaks. Creole, however, does treat line breaks in the source as line breaks in the output.
 +
 +This component is mainly the same as Chris Smith's [[wiki:linebreak]] plugin. Thanks!
 +
 +==== Preformatted ====
 +
 +Creole:
 +
 +<code>
 +{{{
 +//This// does **not** get [[wiki:formatted]]
 +}}}
 +
 +Some examples of markup are: {{{** <i>this</i> ** }}}
 +</code>
 +
 +Output:
 +
 +  //This// does **not** get [[wiki:formatted]]
 +
 +Some examples of markup are: ''%%** <i>this</i> ** %%''
 +
 +=== Tables ===
 +
 +Creole (and DokuWiki):
 +
 +<code>
 +|Heading Col 1  |Heading Col 2 |   (^Heading Col 1  ^Heading Col 2 ^)
 +|Cell 1.1       |Cell 1.2      |   (|Cell 1.1       |Cell 1.2      |)
 +|Cell 2.1       |Cell 2.2      |   (|Cell 2.1       |Cell 2.2      |)
 +</code>
 +
 +Output:
 +
 +|Heading Col 1  |Heading Col 2 |
 +|Cell 1.1       |Cell 1.2      |
 +|Cell 2.1       |Cell 2.2      |
 +
 +The difference to DokuWiki is that in Creole there's no special markup for header cells and no cell alignment. In turn, in Creole the ending pipe is optional.
 +