diff --git a/syntaxreference.txt b/syntaxreference.txt index db0fe22..8848cde 100644 --- a/syntaxreference.txt +++ b/syntaxreference.txt @@ -82,6 +82,13 @@ Wiki``Name Wiki''''''Name Wiki``Name += Blockquote = +{{{ + This is indented + Even more +}}} + This is indented + Even more = Bullet list = {{{ @@ -151,3 +158,11 @@ sixth line! ---------- -------------------------------------------- (not thicker than 10) + += Macros = +{{{ +[[Anchor(anchorname)]] +'''[[PageCount]]''' pages +}}} +[[Anchor(anchorname)]] +'''[[PageCount]]''' pages diff --git a/text_dokuwiki.py b/text_dokuwiki.py index fc35c5e..090589f 100644 --- a/text_dokuwiki.py +++ b/text_dokuwiki.py @@ -124,6 +124,7 @@ class Formatter(FormatterBase): return ['', '\n'][on] def listitem(self, on, **kw): + # somewhy blockquote uses "listitem" call return [(' ' * self.list_depth * 2) + self.list_type + ' ', '\n'][not on] def code(self, on, **kw): @@ -172,7 +173,8 @@ class Formatter(FormatterBase): return ['|', '|'][not on] def anchordef(self, id): - return '' % id + # not supported + return '' def anchorlink(self, on, name='', **kw): id = kw.get('id',None)