Version 8 (modified by 14 years ago) ( diff ) | ,
---|
Wiki Creole
Wiki Creole is a tentative to create a compatibility layer between Wikis, by trying to define a kind of common syntax:
Creole is a common wiki markup language to be used across different Wikis. It's not replacing existing markup but instead enabling wiki users to transfer content seamlessly across wikis, and for novice users to contribute more easily.
While our current Wiki engine doesn't yet allow to implement compatibility with WikiCreole by the way of a plugin, our Wiki Syntax happens to be close enough to the spec that only small tweaking would be needed to reach a good compatibility level.
As MoinMoin switched to a creole friendlier markup in 1.6 and BitBucket also supports fully the WikiCreole 1.0 spec, the Trac wiki syntax should also become more creole-friendly. Complete compatibility is probably out of reach, but there are a number of things we can adopt without breaking anything.
Cheat Sheet for Wiki Creole 1.0 |
---|
Possible changes:
Wiki Markup | Display | Status | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
//italics// | italics | in #4356 | |||||||||
**bold** | bold | in #4356 | |||||||||
* Bullet list * Second item ** Sub item |
Sub item |
| |||||||||
# Numbered list ## Second item ## Sub item | # Numbered list ## Second item ## Sub item | No conflict but needs symmetry with the unordered lists | |||||||||
Link to [[wikipage]]
| Link to wikipage |
Obvious conflict with the syntax of WikiMacros.
Fix is obvious as well: anything not recognized as a macro will be linkified in the See also HelpOnLinking#Linking. | |||||||||
[[URL|linkname]]
| linkname | in #4356 (though not optimal) | |||||||||
== Large heading === Medium heading ==== Small heading | Large headingMedium headingSmall heading | in trunk | |||||||||
No linebreak! Use empty row (sic) | No linebreak! Use empty row (sic) | ||||||||||
Force\\linebreak
| Force linebreak | ||||||||||
---- Horizontal line | Horizontal line |
Note: for symmetry with | |||||||||
{{Image.jpg|title}}
| {{Image.jpg|title}} | see also HelpOnLinking#Embedding | |||||||||
|=|=table|=header| |a|table|row| |b|table|row| | |=|=table|=header| |a|table|row| |b|table|row| | Probably a bit too extreme, as we already have issues like #6630. However, it must be noted that nearly the same example works with double pipes: ||=||=table||=header|| ||a||table|row|| ||b||table||row||
| |||||||||
{{{ == [[Nowiki]]: //**don't** format// }}} | == [[Nowiki]]: //**don't** format// | ||||||||||
Btw, another TODO for row separators:
|------------------- <text>
the <text> should be ignored, or placed in an HTML comment.
See also: