This is an old revision of the document!
DokuWiki's syntax versus competition
I think DokuWiki has the most readable syntax of all wikis. It was designed to be quickly readable and understandable just by reading the source text. That's also probably the reason why the extension of DW files is simply .txt
.
DokuWiki has a natural formatting of headlines.
The largest headline (h1) uses the most amount of special characters which are =
The smallest (least significant) headline (h5) uses the least amount of these characters.
====== Headline h1 ======
==== Headline h3 ====
== Headline h5 ==
Now have a look at all other alternative syntaxes
Markdown:
# Headline h1
### Headline h3
##### Headline h5
The least significant headline gets the most attention!
I don't want to compare every part of DokuWiki to Markdown or other formats, but there are many more examples which clearly show that people who created Markdown, PhpWiki or MediaWiki didn't really mean to make the source well readable to humans.
I mean how could anyone come up with the idea that subscript should be done with one tilde ~subscript~
and strike-through with 2 tilde characters ~~strikethrough~~
?!?
Or italic text with 2 apostrophes ''italic''
, bold with 3 apostrophes '''bold'''
and bold & italic with 5 apostrophes '''''bold & italic'''''
?!?
The most similar syntax to DokuWiki is probably Xwiki