(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-16) was last changed on 21-Apr-2008 19:56 by OliverSiemoneit  

This page was created on 06-Sep-2006 16:46 by Radomir Dopieralski

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
There is a [Creole parser plugin|http://moinmoin.wikiwikiweb.de/ParserMarket/WikiCreole] for the [MoinMoin wiki engine|http://moinmoin.wikiwikiweb.de].
MoinMoin 1.6 comes with a Creole 1.0 parser build in.
To enable it, just use text/creole format.
At line 3 changed one line
It is based on the [Creole0.1] draft.
* {{{#pragmas}}} from the top of page are filtered out before the parser gets to them, so it's possible to have a numbered lists broken this way. This cannot be fixed.
* Pre blocks use hashbang notation for denoting code type (for syntax highlighting).
* The {{{<<placeholder>>}}} syntax is used for macros,
* The {{{{{image}} }}} syntax is used both for attachments and external images.
* There is an option for switching between wiki-like and blog-like lines.
At line 5 changed 18 lines
There were several issues when writing it:
* The bold/italics don't work properly in all cases yet, there is a problem of how to determine whether '**' or '//' is closing or opening. I think I will solve it by just keeping the state in a separate variable, but that's not nice.
* The line breaks are a major pain. Currently I only add them inside paragraphs, and I included a special case that will not add a line break at the end of a paragraph if it is followed by an empty line. The line break is however added if the paragraph is followed by a list or a preformatted block, and I personally don't feel like adding more lookahead special cases.
* I'm a little bit generous when parsing mixed lists. This is valid:
{{{
# One
- Two
- Three
# Four
}}}
and gets rendered as:
# One
** Two
** Three
# Four
As of version 1.6 MoinMoin also changes its default markup format, making it much more similar to Creole.
Version Date Modified Size Author Changes ... Change note
16 21-Apr-2008 19:56 0.677 kB OliverSiemoneit to previous restore
15 21-Apr-2008 13:53 0.682 kB 141.187.34.4 to previous | to last
14 21-Mar-2008 00:15 0.677 kB 84.58.5.113 to previous | to last typo fixed
13 04-Nov-2007 01:56 0.676 kB RadomirDopieralski to previous | to last changes in 1.6
12 23-Mar-2007 09:24 1.289 kB RadomirDopieralski to previous | to last update
11 10-Feb-2007 18:58 1.154 kB RadomirDopieralski to previous | to last fully compliant with Creole 0.4
10 04-Feb-2007 21:18 1.2 kB RadomirDopieralski to previous | to last new version
9 04-Feb-2007 21:13 1.125 kB RadomirDopieralski to previous | to last new version
8 07-Sep-2006 00:42 2.526 kB 85.221.141.46 to previous | to last sanitizing lists
7 06-Sep-2006 23:06 2.245 kB 85.221.141.46 to previous | to last no jokes
6 06-Sep-2006 23:01 2.071 kB Chuck Smith to previous | to last no errors :)
5 06-Sep-2006 22:13 1.819 kB 85.221.141.46 to previous | to last in the face of ambiguity, refuse the temptation to guess
4 06-Sep-2006 21:40 1.322 kB Chuck Smith to previous | to last my rendering suggestion
3 06-Sep-2006 20:25 1.22 kB Radomir Dopieralski to previous | to last any suggestions on how to handle syntax errors?
2 06-Sep-2006 19:31 1.17 kB 85.221.141.46 to previous | to last new version, some changes
1 06-Sep-2006 16:46 1.02 kB Radomir Dopieralski to last
« This page (revision-16) was last changed on 21-Apr-2008 19:56 by OliverSiemoneit