class documentation
class XWiki20Renderer(BaseRenderer): (source)
XWiki syntax 2.0 renderer class.
See mistletoe.base_renderer module for more info.
Static Method | render |
Undocumented |
Static Method | render |
Undocumented |
Method | __init__ |
No summary |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Recursively renders child tokens. Joins the rendered strings with no space in between. |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Default render method for RawText. Simply return token.content. |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Method | render |
Undocumented |
Instance Variable | first |
Undocumented |
Instance Variable | last |
Undocumented |
Instance Variable | list |
Undocumented |
Method | _block |
Undocumented |
Inherited from BaseRenderer
:
Method | __enter__ |
Make renderer classes into context managers. |
Method | __exit__ |
Make renderer classes into context managers. |
Method | render |
Grabs the class name from input token and finds its corresponding render function. |
Instance Variable | footnotes |
Undocumented |
Instance Variable | render |
maps tokens to their corresponding render functions. |
Class Method | _cls |
Undocumented |
Static Method | _tokens |
Helper method; takes a module and returns a list of all token classes specified in module.__all__. Useful when custom tokens are defined in a separate module. |
Class Variable | _parse |
Undocumented |
Instance Variable | _extras |
a list of custom tokens to be added to the parsing process. |
Recursively renders child tokens. Joins the rendered strings with no space in between.
If newlines / spaces are needed between tokens, add them in their respective templates, or override this function in the renderer subclass, so that whitespace won't seem to appear magically for anyone reading your program.
Parameters | |
token | a branch node who has children attribute. |