At line 1 changed one line |
Here is a first draft of a v0.1 spec of Creole. I would still personally prefer asterisks for bullet lists, but dashes were agreed upon at [Wikisym 06]. In v0.2, I would also like to have a syntax for images, lists with sublevels and possibly tables. I would like to make this live and static by Friday. Please comment on the Discussion page. |
This is the final v0.1 spec of Creole (11 Sep 2006). Also see: [Creole 0.2]. |
At line 3 removed 7 lines |
Possible additions/changes in v0.2: |
* image links |
* links to image |
* changing unordered list to asterisk |
* tables |
--[ChuckSmith] |
|
At line 15 changed one line |
Bold and Italics should be able to embed in lists and one should be able to make links bold and italic. Text should not be bold or italic across paragraphs. |
Bold and Italics should be able to embed in lists and one should be able to make links bold and italic. Bold and/or italics __can__ span lines, but __not__ span across lines in lists __nor__ across different paragraphs. |
At line 54 changed one line |
Bold and italics should <em>be</br> |
Bold and italics should <em>be<br /> |
At line 104 changed one line |
Bold, italics, links, pre can be embedded in lists. Whitespace is optional before and after the - or # character. It is recommended to have support for a depth of at least five levels. |
Bold, italics, links, pre can be embedded in lists. Whitespace is optional before and after the * or # character, however a space is required afterwards if someone wishes to start a list element with bold text. A list element ends at the end of a line. It is recommended to have support for a depth of at least five levels. |
At line 99 added 2 lines |
__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 110 changed 3 lines |
- Item 1 |
-- Item 1.1 |
- Item 2 |
* Item 1 |
** Item 1.1 |
* Item 2 |
At line 132 removed 2 lines |
---- |
|
At line 159 removed 39 lines |
---- |
|
!Mixed Lists |
Creole: |
{{{ |
- Item A |
## Item A.1 |
## Item A.2 |
- Item B |
}}} |
|
or |
|
{{{ |
- Item A |
-# Item A.1 |
-# Item A.2 |
- Item B |
}}} |
|
Recommended XHTML: |
{{{ |
<ul> |
<li>Item A |
<ol> |
<li>Item A.1</li> |
<li>Item A.2</li> |
</ol> |
</li> |
<li>Item B</li> |
</ul> |
}}} |
|
Sample Output: |
* Item A |
## Item A.1 |
## Item A.2 |
* Item B |
|
At line 199 changed one line |
Closing (right-side) equal signs are optional. If both left side and right side equal signs exist, the left side takes precedence. Whitespace is not allowed before the left-side equal signs. Only whitespace characters are permitted after the closing equal signs. No linebreaks are allowed within headings. Bold, italics, links and preformatted text are allowed in headings. |
Only three different sized levels of headings are required. Closing (right-side) equal signs are optional. If both left side and right side equal signs exist, the left side takes precedence. Whitespace is not allowed before the left-side equal signs. Only whitespace characters are permitted after the closing equal signs. No linebreaks are allowed within headings (this includes logical linebreaks made by using a backslash at the end of a line, for example). Bold, italics, links and preformatted text are allowed in headings. |
At line 236 changed one line |
[[http://www.wikicreole.org/ | Visit the WikiCreole website]] |
[[http://www.wikicreole.org/|Visit the WikiCreole website]] |
At line 253 added one line |
|
At line 257 added 23 lines |
---- |
|
Creole: |
{{{ |
* This is a single list item |
followed by a paragraph? |
}}} |
|
Recommended XHTML: |
{{{ |
<ul> |
<li>This is a single list item</li> |
</ul> |
<p> |
followed by a paragraph |
</p> |
}}} |
|
Sample Output: |
|
* This is a single list item |
followed by a paragraph |
|
At line 303 changed one line |
This works in-line or as a block. __No wiki markup is interpreted between these characters and all characters become monospace.__ |
This works in-line or as a block. __No wiki markup is interpreted between these characters and all characters become monospace.__ As a block, the three curly braces should be on one line by itself to open and another line of three curly braces should be on a line by itself to close. |
At line 307 changed one line |
{{{ //This// does **not** get [[formatted]] ~}}} |
{{{ |
//This// does **not** get [[formatted]] |
~}}} |
At line 385 changed 2 lines |
- **bold** item |
- //italic// item |
* **bold** item |
* //italic// item |