Skip to content
Fossil Changes To Extending Fossil’s Wiki
Login

Changes To Extending Fossil’s Wiki

Changes to "Extending Fossil's Wiki" between 2009-09-23 08:59:35 and 2009-09-23 09:44:27

1
2
3
4
5
6
7
8
9
10


11
12
13
14
15
16
17
1
2
3
4
5
6
7
8
9

10
11
12
13
14
15
16
17
18









-
+
+







<h2>Creole Parser</h2>

<hr>
A [/timeline?t=creole|creole] branch has been started by user Robert to:

  1.  Develop a Creole 1.0 compatible wiki parser.
  2.  Explore wiki parser options.
  3.  Develop a standard interface for providing parser extensions.

A live demo of this branch is available [http://pytrash.users.sourceforge.net/cgi-bin/creole|here].
A live demo of this branch is available [http://pytrash.users.sourceforge.net/cgi-bin/creole|here] and a linux binary of the creole branch (for testing only) can be found
[http://pytrash.users.sourceforge.net/creole-in-fossil/cfossil.gz|here]. 

Two macros are used to switch between creole markukp and standard fossil markup: <tt>&lt;&lt;creole>></tt> and <tt>&lt;&lt;fossil>></tt>. Fossil wiki ignores <tt>&lt;&lt;fossil>></tt>, but the creole parser uses it to
switch back to fossil.

The 'append to wiki page function' uses this to ensure that any extensions are closed and the fossil wiki parser is back in charge before making any additions. <tt>&lt;&lt;creole>></tt> can be used in the added text to get creole markup.

At the moment the <tt>&lt;&lt;creole>></tt> markup can only be included while editing or appending
︙