| __init__.py |
|
593 |
- |
| blockquote.py |
|
11506 |
- |
| code.py |
Code block (4 spaces padded). |
860 |
- |
| fence.py |
Create a fence parsing rule with configurable options.
:param markers: Tuple of single characters that can be used as fence markers.
:param token_type: The token type name to emit (e.g. "fence", "colon_fence").
:param exact_match: If True, the closing fence must have exactly the same
number of marker characters as the opening fence (not "at least as many").
This enables nesting of fences with different marker counts.
:param disallow_marker_in_info: Tuple of marker characters that are not allowed
to appear in the info string. The check only applies when the actual opening
marker is in this tuple (e.g. a tilde fence is unaffected by ``"`"`` being
listed). Per CommonMark, backtick fences cannot have backticks in the info
string. Use ``()`` to disable this restriction.
:param min_markers: Minimum number of marker characters to form a fence.
:return: A block rule function with signature
``(state, startLine, endLine, silent) -> bool``.
|
4784 |
- |
| heading.py |
Atex heading (#, ##, ...) |
1745 |
- |
| hr.py |
Horizontal rule
At least 3 of these characters on a line * - _
|
1227 |
- |
| html_block.py |
|
2721 |
- |
| lheading.py |
|
2625 |
- |
| list.py |
|
12039 |
- |
| paragraph.py |
Paragraph. |
1819 |
- |
| reference.py |
|
6983 |
- |
| state_block.py |
Push new token to "stream". |
8422 |
- |
| table.py |
|
7682 |
- |