(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 

Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-56) was last changed on 26-Sep-2007 09:34 by ChuckSmith  

This page was created on 05-Sep-2006 10:57 by Christoph

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

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 6 lines
Possible additions/changes in v0.2:
* images
* lists with sub-levels
* changing unordered list to asterisk?
* tables?
At line 14 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 23 changed one line
Output:
Sample Output:
At line 20 added 3 lines
!Italics
Ignore // for italics processing if immediately following ''http:'' or ''ftp:''
At line 24 added 11 lines
{{{ //italics// }}}
Recommended XHTML:
{{{ <em>italics</em> }}}
Sample Output:
''italics''
----
Creole:
At line 39 changed one line
Bold and italics should <em>be</br>
Bold and italics should <em>be<br />
At line 50 changed 2 lines
!Italics
Ignore // for italics processing if immediately following ''http:'' or ''ftp:''
Sample output:
At line 60 added 8 lines
Bold and italics should ''be\\
able'' to cross lines.
But, should //not be...
...able// to cross paragraphs.
!Bold Italics
At line 54 changed one line
{{{ //italics// }}}
{{{
**//bold italics//**
//**bold italics**//
//This is **also** good.//
}}}
At line 57 changed one line
{{{ <em>italics</em> }}}
{{{
<strong><em>bold italics</em></strong>
<em><strong>bold italics</strong></em>
<em>This is <strong>also</strong> good.</em>
}}}
At line 59 changed 2 lines
Output:
''italics''
Sample Output:
At line 84 added 12 lines
__''Bold italics''__\\
''__Bold italics__''\\
''This is __also__ good''
----
Unacceptable:
{{{
**//bold italics**//
//**bold italics//**
}}}
At line 63 changed one line
Bold, italics, links, pre can be embedded in lists. Only one level lists are supported in v0.1 (i.e. no sublevels and no mixed unordered and ordered lists). Whitespace is optional before and after the - or # character.
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 69 changed 2 lines
- Item 1
- Item 2
* Item 1
** Item 1.1
* Item 2
At line 76 changed one line
<li>Item 1</li>
<li>Item 1
<ul>
<li>Item 1.1</li>
</ul>
</li>
At line 81 changed one line
Output:
Sample Output:
At line 124 added one line
** Item 1.1
At line 131 added one line
## Item 1.1
At line 95 changed one line
<li>Item 1</li>
<li>Item 1
<ol>
<li>Item 1.1</li>
</ol>
</li>
At line 100 changed one line
Output:
Sample Output:
At line 149 added one line
## Item 1.1
At line 105 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. No markup within a heading will be parsed.
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 130 changed one line
<h3>**not** //parsed//</h3>
<h3><strong>not</strong> <em>parsed</em></h3>
At line 134 changed one line
Links should not be allowed to contain a linebreak.
Links should not be allowed to contain a linebreak. Any markup within a link will __''not''__ be parsed.
At line 140 changed one line
[[http://www.wikicreole.org | Visit the WikiCreole website]]
[[http://www.wikicreole.org/]]
http://www.rawlink.org/
[[http://www.wikicreole.org/|Visit the WikiCreole website]]
[[Weird Stuff|**Weird** //Stuff//]]
At line 198 added 2 lines
<a href="http://www.wikicreole.org/">http://www.wikicreole.org/</a>
<a href="http://www.rawlink.org/">http://www.rawlink.org/</a>
At line 201 added one line
<a href="http://www.examplewiki.com/Weird_Stuff">**Weird** //Stuff//</a>
At line 150 changed one line
Output:\\
Sample Output:
At line 153 changed one line
[Visit the WikiCreole website|http://www.wikicreole.org/]
[http://www.wikicreole.org/]\\
[http://www.rawlink.org/]\\
[Visit the WikiCreole website|http://www.wikicreole.org/]\\
[**Weird** //Stuff//|Weird_Stuff]
At line 172 changed one line
Output:\\
Sample Output:
At line 189 changed one line
This is the first line.<br/>
This is the first line.<br />
At line 194 changed one line
Output:\\
Sample Output:
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 199 changed one line
This works in-line or as a block. __No wiki markup is interpreted between these characters.__ (triple curly brackets should have no spaces between them)
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 203 changed one line
{{{ //This// does **not** get [[formatted]] ~}}}
{{{
//This// does **not** get [[formatted]]
~}}}
At line 213 changed one line
Output:
Sample Output:
At line 218 changed 2 lines
!!Horizontal Rule
Whitespace is optional before and after the hyphens, but no whitespace is allowed between them. The four hyphens must be the only characters (other than whitespace) on that line.
----
At line 222 changed one line
{{{ ---- }}}
{{{
Some examples of markup are: {{{** <i>this</i> ** ~}}}
}}}
At line 224 changed one line
{{{ <hr> }}}
{{{
Some examples of markup are: <tt>** &lt;i&gt;this&lt;/i&gt; **</tt>
}}}
At line 226 changed 2 lines
!!Placeholder
When there is something advanced like tables, a placeholder will show up, so users will not be confused seeing more than one syntax. (optional for wiki developers)
Sample output:
At line 229 changed 2 lines
Creole:
{{{ <<x>> }}}
Some examples of markup are: {{{** <i>this</i> **}}}
At line 232 changed one line
Conflicts with OLPC image tag.
!!Horizontal Rule
Whitespace is optional before and after the hyphens, but no whitespace is allowed between them. The four hyphens must be the only characters (other than whitespace) on that line.
At line 234 removed 2 lines
!!!Mixed syntax examples
!!Bold Italics
At line 237 changed 2 lines
{{{ **//bold italics//** }}}
{{{ ---- }}}
At line 240 changed one line
{{{ <strong><em>bold italics</em></strong> }}}
{{{ <hr /> }}}
At line 242 changed 2 lines
Output:
__''Bold italics''__
!!Image (inline)
At line 246 changed one line
{{{ //**bold italics**// }}}
{{{ {{myimage.png}} }}}
At line 249 changed one line
{{{ <em><strong>bold italics</strong></em> }}}
{{{ <img src="myimage.png" /> }}}
At line 251 changed 2 lines
Output:
''__Bold Italics__''
!!Placeholder
When there is something advanced like tables, a placeholder will show up, so users will not be confused seeing more than one syntax. (optional for wiki developers)
At line 254 changed 5 lines
Unacceptable:
{{{
**//bold italics**//
//**bold italics//**
}}}
Creole:
{{{ <<x>> }}}
At line 340 added 2 lines
!!!Mixed syntax examples
At line 275 changed one line
Output:
Sample Output:
At line 283 changed 2 lines
- **bold** item
- //italic** item
* **bold** item
* //italic// item
At line 301 changed one line
Output:
Sample Output:
At line 304 changed 2 lines
* item about a [certain page]
* {{{//this// is **not** [[processed]]}}}
# item about a [certain page]
# {{{//this// is **not** [[processed]]}}}
Version Date Modified Size Author Changes ... Change note
56 26-Sep-2007 09:34 8.3 kB ChuckSmith to previous restore
55 26-Sep-2007 01:18 8.317 kB 63.241.9.240 to previous | to last
54 26-Sep-2007 00:47 8.309 kB 219.138.204.162 to previous | to last
53 28-Oct-2006 09:17 8.3 kB MicheleTomaiuolo to previous | to last spam reverted
52 28-Oct-2006 00:17 0.129 kB 66.186.45.92 to previous | to last Nice site! [url=http://blxxsyda.com/hopl/chrm.html]My homepage[/url] | [url=http://xrbdjsdp.com/pqlu/phpb.html]Cool site[/url]
51 02-Oct-2006 14:10 8.3 kB Esther Brunner to previous | to last
50 18-Sep-2006 11:35 8.297 kB 141.7.56.2 to previous | to last added another clarification to lists
49 15-Sep-2006 19:09 8.458 kB 141.21.7.39 to previous | to last found bug?
48 14-Sep-2006 12:47 8.254 kB 141.7.56.2 to previous | to last better wording about lists and bold
47 14-Sep-2006 12:44 8.181 kB 141.7.56.2 to previous | to last across lines in lists
46 14-Sep-2006 12:40 8.163 kB 141.7.56.2 to previous | to last about unordered lists and bold
45 12-Sep-2006 19:58 7.738 kB 71.135.175.229 to previous | to last fix br tag
44 12-Sep-2006 10:35 7.737 kB ChuckSmith to previous | to last removed a space from external link
43 11-Sep-2006 17:40 7.739 kB ChuckSmith to previous | to last added today's date
42 11-Sep-2006 17:18 7.725 kB ChuckSmith to previous | to last final 0.1 spec
41 11-Sep-2006 15:53 8.176 kB ChuckSmith to previous | to last added example with list item followed by paragraph
« This page (revision-56) was last changed on 26-Sep-2007 09:34 by ChuckSmith