(anonymous guest) (logged out)

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

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

The Creole 1.0 spec is quite a lot to read. We try to put as many assumptions of creole into the validation cases below. Simply copy this into the sandbox of your favorite wiki and see if it works.

Caution: because of some discrepancies between the engine used by wikicreole and Creole 1.0, only Creole 1.0 should be used as a reference. This document should be considered as a semi-untrustworthy draft.

= Top-level heading (1)
== This a test for creole 0.1 (2)
=== This is a Subheading (3)
==== Subsub (4)
===== Subsubsub (5)

The ending equal signs should not be displayed:

= Top-level heading (1) =
== This a test for creole 0.1 (2) ==
=== This is a Subheading (3) ===
==== Subsub (4) ====
===== Subsubsub (5) =====


You can make things **bold** or //italic// or **//both//** or //**both**//.

Character formatting extends across line breaks: **bold,
this is still bold. This line deliberately does not end in star-star.

Not bold. Character formatting does not cross paragraph boundaries.

You can use [[internal links]] or [[http://www.wikicreole.org|external links]],
give the link a [[internal links|different]] name.

Here's another sentence: This wisdom is taken from [[Ward Cunningham's]]
[[http://www.c2.com/doc/wikisym/WikiSym2006.pdf|Presentation at the Wikisym 06]].

Here's a external link without a description: [[http://www.wikicreole.org]]

Be careful that italic links are rendered properly:  //[[http://my.book.example/|My Book Title]]// 

Free links without braces should be rendered as well, like http://www.wikicreole.org/ and http://www.wikicreole.org/users/~example. 

Note: the implementation should not render foo://bar as italic! It's not enough to
protect http://bar from being rendered as italic, because you can have much more
protocols, for example jdbc://bar and ftp://file.

You can use this to draw a line to separate the page:
----

You can use lists, start it at the first column for now, please...

unnumbered lists are like
* item a
* item b
* **bold item c**

blank space is also permitted before lists like:
  *   item a
 * item b
* item c
 ** item c.a

or you can number them
# [[item 1]]
# item 2
# // italic item 3 //
    ## item 3.1
  ## item 3.2

up to five levels
* 1
** 2
*** 3
**** 4
***** 5

* You can have
multiline list items
* this is a second multiline
list item

You can use nowiki syntax if you would like do stuff like this:

{{{
Guitar Chord C:

||---|---|---|
||-0-|---|---|
||---|---|---|
||---|-0-|---|
||---|---|-0-|
||---|---|---|
}}}

Note: if you look at the source code of the above, you see the escape char (tilde, ~ )
being used to escape the closing triple curly braces. This is to do nowiki nesting in this
wiki which doesn't follow Creole 1.0 yet (closing triple curly braces should be indented
by one space).

You can also use it inline nowiki {{{ in a sentence }}} like this.

!!! Escapes 
Normal Link: http://wikicreole.org/ - now same link, but escaped: ~http://wikicreole.org/ 

Normal asterisks: ~**not bold~**

a tilde alone: ~

a tilde escapes itself: ~~xxx

!! Creole 0.2 

This should be a flower with the ALT text "this is a flower" if your wiki supports ALT text on images:

[{ImagePro src='Red-Flower.jpg' caption='here is a red flower' }]

!! Creole 0.4 

Tables are done like this:

||header col1||header col2
|col1|col2
|you         |can         
|also        |align\\ it. 

You can format an address by simply forcing linebreaks:

My contact dates:\\
Pone: xyz\\
Fax: +45\\
Mobile: abc

!! Creole 0.5 

|| Header title               || Another header title     
| {{{ //not italic text// }}} | {{{ **not bold text** }}} 
| ''italic text''             | __  bold text __          

!! Creole 1.0 

If interwiki links are setup in your wiki, this links to the WikiCreole page about Creole 1.0 test cases: [WikiCreole:Creole1.0TestCases].

Notes:

  • There is a bug in pre rendering of the table sample: the final | on each line is not getting rendered.
  • There is a bug in the image text with ALT above under the Creole 0.2 section.
  • To test, it is recommended that you copy the RAW content (not: rendered content) of the JSPWiki Test Cases to your wiki to test.

Examples #

JSPWiki Test Cases

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
jpg
» Red_Flower.jpg 5.7 kB 1 21-Aug-2007 16:20 ChuckSmith Red Flower for image test
txt
creole1.0test.txt 3.1 kB 1 09-Oct-2008 16:10 RadomirDopieralski
« This particular version was published on 25-Mär-2008 09:43 by YvesPiguet.