class XOrgWiki*
some classes to parse yawc (yet another wiki code)
atm, only blocks are parsed, the syntax is :
!foo <h1>foo</h1>
!!foo <h2>foo</h2>
!!!foo <h3>foo</h3>
.foo <pre>foo</pre>
*foo <ul><li>foo</li></ul>
#foo <ol><li>foo</li></ol>
>foo <blockquote>foo</blockquote>
---- <hr />
(empty) <p></p>
foobar <p>foobar</p>
special thing :
[op] foo
= bar
is understood as : <op> foo <br /> bar </op>
= at the beginning of a line means : stay in the previous block, but with a line break.
Now I have to parse line ops like (i think) :
**foo** -> <strong>foo</strong>
__foo__ -> <u>foo</u>
//foo// -> <em>foo</em>
[expl|url] -> <a href='url'>expl</a>
(expl|url) -> <img href='url'>expl</img>
+ automatic url and mailto detections.
all those thing have to be parsed in _parse_line.
git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-406