class documentation
class TocTreeprocessor(Treeprocessor): (source)
Undocumented
Method | __init__ |
Undocumented |
Method | add |
Undocumented |
Method | add |
Undocumented |
Method | build |
Return a string div given a toc list. |
Method | iterparent |
Iterator wrapper to get allowed parent and child all at once. |
Method | replace |
Replace marker with elem. |
Method | run |
Subclasses of Treeprocessor should implement a `run` method, which takes a root ElementTree. This method can return another ElementTree object, and the existing root ElementTree will be replaced, or it can modify the current tree and return None. |
Method | set |
Adjust header level according to base level. |
Instance Variable | anchorlink |
Undocumented |
Instance Variable | base |
Undocumented |
Instance Variable | header |
Undocumented |
Instance Variable | marker |
Undocumented |
Instance Variable | permalink |
Undocumented |
Instance Variable | permalink |
Undocumented |
Instance Variable | sep |
Undocumented |
Instance Variable | slugify |
Undocumented |
Instance Variable | title |
Undocumented |
Instance Variable | toc |
Undocumented |
Instance Variable | toc |
Undocumented |
Instance Variable | toc |
Undocumented |
Instance Variable | use |
Undocumented |
Instance Variable | use |
Undocumented |
Inherited from Processor
(via Treeprocessor
):
Instance Variable | md |
Undocumented |