T4 WikiParser (T4-WP) 1.0.004 stable

Release date: 2009-12-20
Written by: Yaroslav Stavnichiy, http://web-tec.info/email.gif
Home page: http://t4-wiki-parser.googlecode.com/
Licensed under the Apache License, Version 2.0

Download binary + source zip-archive.

Online demo: http://www.mforum.ru/t4/WikiDemo

Please report errors to author. Comments and suggestions welcome.

Release Notes

WikiParser.jar contains Java source files as well as compiled classes.

ys.wikiparser.demo.WikiParserDemo class can be used as example of using and integrating WikiParser into your code.

WikiParser implements Creole 1.0 wiki format with some minor deviations, which can be easily fixed if required.

Deviations from Creole 1.0

  1. Nowiki blocks and spans:
  2. Mixed lists:
  3. Escaping:
  4. Extensions:

Changes since 1.0 beta3

Changes since 1.0 beta2

Changes since 1.0 beta1


Demos

This file is written to illustrate WikiParser's syntax. You can generate XHTML version of it by using the following command:

java -jar WikiParser.jar WikiParser.txt WikiParser.htm

Bold, Italic, Underlined, Monospaced

You can make things bold or italic or both + underline.

Monospaced text **no markup** or monospaced bold text **no markup**

You can use internal links (eg. links to your own wikipedia's tags) or external links, give the link a different display text.

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

Horizontal Rule

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


Lists, Quotes, Indents

Unnumbered lists:

Lists can be numbered or even mixed up:

  1. item a
  2. item b
Quotes can be mixed with lists.
... so do indents.
... at multiple levels

Nowiki and Escape

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

Guitar Chord C:

||---|---|---|
||-0-|---|---|
||---|-0-|---|
||---|---|-0-|
||---|---|---|

... or inline nowiki: ** not bold **.

Single character escape is done by a tilde: ~

Normal link: http://wikicreole.org/ - now same link, but escaped: http://wikicreole.org/

Normal asterisks: **not bold**

A tilde escapes itself: ~bold.

Tables

Tables are done like this:

header1headerl2
col1col2col3
can have | in a cellcolspan=2
colspan=3

MediaWiki-Style Tables

  • Can have lists within cells
Can have
centered
paragraphs
As well as
multiline
no-wiki blocks
And even nested mini-tables

Images

Creole cheat sheet image:
WikiCreole Cheat Sheet