Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Artifact ID: | 6d47f3a6dbc2ca2dbdca82943cf38b22f92f391e |
---|---|
Page Name: | Extending Fossil's Wiki |
Date: | 2009-09-23 09:56:12 |
Original User: | anonymous |
Parent: | 1def982dd40913647daa4b7e2a52f3a1da5fa1f3 (diff) |
Next | 4a3c6a69c8b7245759c124975b9ac793fbbbcc0d |
Creole Parser
A creole branch has been started by user Robert to:
- Develop a Creole 1.0 compatible wiki parser.
- Explore wiki parser options.
- Develop a standard interface for providing parser extensions.
A live demo of this branch is available here and a linux binary (for testing only) of the creole branch can be fournd here.
Two macros are used to switch between creole markukp and standard fossil markup: <<creole>> and <<fossil>>. Fossil wiki ignores <<fossil>>, 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. <<creole>> can be used in the added text to get creole markup.
At the moment the <<creole>> markup can only be included while editing or appending to wiki pages, not for Tickets.
Other Suggested Wiki 'Enhancements'
1. Hierarchical namespaces for wiki pages
This is not as drastic as it sounds, the wiki pages could still be a flat table as they are now but their name would be interpreted to provide the illusion of a hierarchy.
- page names ending in '/' would be banned.
- In page listings, page names would be split on '/' and displayed as lists of lists
- When a link such as ./test1 is encountered it will be converted into the full name of the current page with /test1 appended.