示例#1
0
 def __init__(self, md, indent=False, with_root=False):
     self.indent = indent
     self.with_root = with_root
     Postprocessor.__init__(self, md)
 def __init__(self, pattern, config):
     Postprocessor.__init__(self)
     self.pattern = pattern
     self.environ = config['environ']
     self.tiddler = config['tiddler']
     self.store = self.environ.get('tiddlyweb.store')
示例#3
0
 def __init__(self, markdown, blog_url, image_url, *args, **kwargs):
     Postprocessor.__init__(self, *args, **kwargs)
     self.markdown = markdown
     self.blog_url = blog_url
     self.image_url = image_url