문서의 이전 판입니다!


"Creole" (위키의 표준화)

Wikipedia의 성공과 더불어 시작한 위키 광풍에 의해 많은 종류의 위키가 만들어 졌다. http://www.wikimatrix.org 를 보면 100여개의 서로 다른 위키가 있는 것을 알 수 있다. 문제는 각각 문법이 달라 서로 호환이 되지 않는다는 것.. 미디어위키, dokuwiki와 wikispaces, 도쿠위키 (Dokuwiki) 세개의 엔진을 거쳐 온 사용자의 입장에서 표준적 위키 문법이 지원되는 환경이 아쉽다. 변환기가 있으나 Mediawiki를 비롯한 몇몇 인기있는 위키에만 집중되어 있다.

http://www.wikicreole.org 에서는 위키문법의 표준화를 위해 노력하고 있으며, 그 결실로 Creole 1.0을 제정하였다. 모든 위키가 사라지고 모두 한 곳으로만 뛰어 갈 수는 없겠지만, 표준화를 위한 노력은 칭찬해 주고 싶다.

현재 Creole 2.0을 준비중이다. 여러 위키의 제작자들이 Creole지원을 약속하였으며, dokuwiki도 이를 위한 plugin이 있으나, 아직 1.0을 완전히 지원하지는 못한다.

Dokuwiki Creole Plugin

description: Creole is an initiative to bring a common basic set of wiki markup to different wiki engines. (previous author: Esther Brunner) author : Gina Häußge, Michael Klier email : [email protected] type : syntax lastupdate : 2008-02-12 compatible : 2006-11-06 depends : conflicts : similar : tags : Creole, wiki syntax

WM creole

Description

The Creole 0.3 Specs (2006-12-19) are very close to the 오픈위키 간단 사용법 used by DokuWiki. Only those elements differ:

This 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.1) 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):

  * Item 1          (  * Item 1     )
** Item 1.1       (    * Item 1.1 )
  * Item 2          (  * Item 2     )

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 linebreak plugin. Thanks! ==== Preformatted ==== Creole: <code> formatted} Some examples of markup are: i} </code> Output: This does not get 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.

1)
You can change the markup precedence to Creole with the config manager, if you want full Creole support.

역링크