class documentation
class Table(BlockToken): (source)
Table token. This is a container block token. Its children are table row tokens.
Static Method | parse |
Helper function; returns align option from cell content. |
Static Method | read |
Undocumented |
Static Method | split |
Helper function; returns a list of align options. |
Static Method | start |
Undocumented |
Method | __init__ |
Undocumented |
Class Variable | repr |
Undocumented |
Instance Variable | children |
inner tokens (TableRows). |
Instance Variable | column |
align options for each column (default to [None]). |
Instance Variable | has |
whether table has header row. |
Instance Variable | header |
Undocumented |
Inherited from BlockToken
:
Method | __contains__ |
Undocumented |
Inherited from Token
(via BlockToken
):
Method | __repr__ |
Undocumented |
Helper function; returns align option from cell content.
Returns | |
None if align = left; 0 if align = center; 1 if align = right. |
Helper function; returns a list of align options.
- Args:
- delimiter (str): e.g.: "| :--- | :---: | ---: |
"
- Returns:
- a list of align options (None, 0 or 1).