Zim::Formats::Wiki3pm
Wiki text parser
Overview
This is the default parser for Zim. It uses a wiki-style syntax to format plain text.
FIXME more verbose description
All format types are signified by double characters, this is done to prevent accidental formatting when the same characters are used normally in a text. For the same reason the strike character is '~' instead of '-' because '--' can occur in normal ascii text. In the regexes we try to always match the inner pair if more than two of these characters are encountered. (Thus if we see "***bold***" we should match "*(**bold**)*".)
Methods
- "load_tree(IO, PAGE)"
-
Reads plain text from a filehandle and returns a parse tree.
- "save_tree(IO, TREE, PAGE)"
-
Serializes the parse tree into a piece of plain text and writes this to a filehandle.
Releases
2 releases since Debian 4.0 (Etch); the text changed 1 time.