At line 1 changed one line |
This is the proposed v0.4 spec of Creole (10 Jan 2007) to be discussed until 24 Jan 2007. |
This is the stable v0.4 spec of Creole (31 Jan 2007). Also see [[reasoning]] for more information about individual markup elements. |
At line 4 changed one line |
* remove line break requirement and add code {{{ \\ }}} for line breaks - ([List Of Line Break Markup]) |
* requirement to support wiki-style linebreaks {{{ \\ }}} - (see [ChangeLinebreakMarkupProposal]) |
At line 6 changed one line |
* allow for level one headers like this: {{{ = really big header = }}} |
* allow for level one headings like this: {{{ = really big heading = }}} |
At line 17 changed one line |
A star ({{{*}}}) is the most used symbol to emphasize text online. Double symbols are generally used in Creole to avoid accidentally parsing text not meant to be parsed. |
A star ({{{*}}}) is the most used symbol to emphasize text online. Double symbols are generally used in Creole to avoid accidentally parsing text not meant to be parsed. [[Bold and Italics Reasoning|Reasoning]] |
At line 31 changed one line |
A slash ({{{/}}}) looks like slanted italics, so it is intuitive and thus easier to remember. |
A slash ({{{/}}}) looks like slanted italics, so it is intuitive and thus easier to remember. [[Bold and Italics Reasoning|Reasoning]] |
At line 60 changed one line |
Bold and italics should <em>be<br /> |
Bold and italics should <em>be |
At line 112 changed one line |
__About unordered lists and bold:__ a line starting with ** (including optional whitespace before and afterwards), immediately following an unordered list element a line above, will be treated as a nested unordered list element. Otherwise it will be treated as the beginning of bold text. Also note that bold and/or italics cannot span lines in a list. |
**About unordered lists and bold:** a line starting with {{{ ** }}} (including optional whitespace before and afterwards), immediately following an unordered list element a line above, will be treated as a nested unordered list element. Otherwise it will be treated as the beginning of bold text. Also note that bold and/or italics cannot span lines in a list. |
At line 116 changed one line |
A large majority of wiki engines use an asterisk ({{{*}}}) to denote bullet lists. The multiple asterisk approach for sublists was the first wiki syntax for sublists. Users do not need to count leading spaces like in markups where a sublist level is determined by the number of its leading spaces. |
A large majority of wiki engines use an asterisk ({{{*}}}) to denote bullet lists. The multiple asterisk approach for sublists was the first wiki syntax for sublists. Users do not need to count leading spaces like in markups where a sublist level is determined by the number of its leading spaces. [[Lists Reasoning|Reasoning]] |
At line 145 changed one line |
The number sign ({{{#}}}) is used for ordered lists in most wikis. |
The number sign ({{{#}}}) is used for ordered lists in most wikis. [[Lists Reasoning|Reasoning]] |
At line 175 changed one line |
Using equal signs ({{{=}}}) is the most popular wiki header markup. Since there are more equal signs for smaller headers, subheaders will become more indented making it easier to get a visual overview from the markup alone. Closing equal signs are optional, making Creole more flexible since many wiki engines do not require them. |
Using equal signs ({{{=}}}) is the most popular wiki header markup. Since there are more equal signs for smaller headers, subheaders will become more indented making it easier to get a visual overview from the markup alone. Closing equal signs are optional, making Creole more flexible since many wiki engines do not require them. [[Headings Reasoning|Reasoning]] |
At line 210 changed one line |
Almost all wikis use square brackets ({{{[[]]}}}) to make links. Using double square brackets allows single square brackets to be used freely without worry of turning them into links. |
Almost all wikis use square brackets ({{{[[]]}}}) to make links. Using double square brackets allows single square brackets to be used freely without worry of turning them into links. [[Links Reasoning|Reasoning]] |
At line 246 changed one line |
No markup tags should be necessary to start a new paragraph. |
No markup tags should be necessary to start a new paragraph. [[Paragraphs and Line Breaks Reasoning|Reasoning]] |
At line 271 added 9 lines |
%%commentbox |
__blog-style vs. wiki-style__\\ |
There was a [long discussion|Talk.Change Linebreak Markup Proposal] whether to use blog-style or wiki-style (legacy-style) line breaks. We decided to change the original blog-style line break recommendation (treat linebreaks as line breaks) from [Creole 0.3] to the wiki-style linebreaks recommendation. Wikis __must__ support forced line break syntax {{{ \\ }}}. |
|
We encourage engine developers that have already implemented the Creole 0.3 style (blog-style) line breaks not to throw away their implementation, but to add an option so that administrators can choose in which mode to run their installation. This way we hope to gain more experience with blog-style line breaks. In a blog-style line break mode, the forced line break syntax must be supported, so that line breaks will properly migrate when people copy text from a wiki with forced line break characters. [[Paragraphs and Line Breaks Reasoning|Reasoning]] |
%% |
|
{{{ \\ }}} (wiki-style) for line breaks. |
|
At line 286 removed one line |
|
At line 312 changed one line |
There must be a way for users to enter text which will not be formatted by the wiki engine. Triple curly brackets ({{{{{{~}}}}}}) were chosen due to their visibility and unlikeliness to be in the "code" itself. |
There must be a way for users to enter text which will not be formatted by the wiki engine. Triple curly brackets ({{{{{{~}}}}}}) were chosen due to their visibility and unlikeliness to be in the "code" itself. [[Preformatted and Nowiki Reasoning|Reasoning]] |
At line 345 changed one line |
Some examples of markup are: <tt>** <i>this</i> **</tt> |
Some examples of markup are: <tt>** <i>this</i> **</tt> |
At line 354 changed one line |
All non-WYSIWYG wikis use hyphens ({{{----}}}) to denote horizontal rules. Most wikis require four. |
All non-WYSIWYG wikis use hyphens ({{{----}}}) to denote horizontal rules. Most wikis require four. [[Horizontal Rule Reasoning|Reasoning]] |
At line 366 changed one line |
The most common image markup was double curly brackets ({{{ {{}} }}}) which will then have the same internal structure as links for consistency. |
The most common image markup was double curly brackets ({{{ {{}} }}}) which will then have the same internal structure as links for consistency. [[Images Reasoning|Reasoning]] |
At line 377 changed one line |
Most wikis use single or double pipes to separate table cells. Single pipes ({{{|}}}) allow better use of space and are faster to type than double pipes since pipes are not usually needed in table cells. |
Most wikis use single or double pipes to separate table cells. Single pipes ({{{|}}}) allow better use of space and are faster to type than double pipes since pipes are not usually needed in table cells. [[Tables Reasoning|Reasoning]] |
At line 384 changed 3 lines |
|Heading Col 1 |Heading Col 2 | |
|Cell 1.1 |Cell 1.2 | |
|Cell 2.1 |Cell 2.2 | |
|Heading Col 1 |Heading Col 2 | |
|Cell 1.1 |Two lines\\in Cell 1.2 | |
|Cell 2.1 |Cell 2.2 | |
At line 398 changed one line |
<td>Cell 1.2</td> |
<td>Two lines\\in Cell 1.2</td> |
At line 409 changed one line |
|Cell 1.1 |Cell 1.2 |
|Cell 1.1 |Two lines\\in Cell 1.2 |
At line 414 changed one line |
This is the only new markup introduced in Creole. Few wikis use angle brackets ({{{<<>>}}}) for markup and it is easy to type on most international keyboards. This was mainly developed due to MediaWiki's extensive use of special characters making it practically impossible to implement Mixed Creole mode. |
This is the only new markup introduced in Creole. Few wikis use angle brackets ({{{<<>>}}}) for markup and it is easy to type on most international keyboards. This was mainly developed due to MediaWiki's extensive use of special characters making it practically impossible to implement Mixed Creole mode. [[Placeholder Reasoning|Reasoning]] |