Support WikiCreole syntax
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
In absense of good reasons otherwise, it would be nice if Zim followed http://
The format changes needed for existing features:
* Reverse headings in file format: "= H1" ... "===== H5" instead of "===== H5" ... "= H1". This will make it consistent with Zim's auto-formatting and about every other wiki out there. And it'll be future-compatible if one day Zim decides to support H6+.
* Use "** text" instead of "\t* text" for nesting bullets.
* Use ">" or ":" instead of "\t" for indented text (according to the half-official http://
* Use {{{verbatim}}} instead of ''verbatim'' (both inline and block).
* Use empty line between paragraphs, "\\" for forced line break.
* Support "~" as an escape character.
** Make exception for ~~strikethrough~~ or invent another syntax for it?
Features in Creole that Zim lacks (and can wait until we actually implement them):
* Support horizontal ruler with "----".
* Support "# text" numbered lists.
* Support simple "| text | text |" tables.
To effect a syntax transition painlessly, the parser should of course have a backward-compatible mode for file whose headers don't show they were created with a recent enough Zim.
Implementation hint: maybe http://
Related branches
tags: | added: backend syntax wiki |
For now I do not want to change the default syntax. However in some future release the user should be able to select alternative syntaxes to e used, like creole. Also these alternative syntaxes should be supported in e.g. the export function.