| __init__.py |
|
696 |
- |
| autolink.py |
|
2065 |
- |
| backticks.py |
|
2037 |
- |
| balance_pairs.py |
Balance paired characters (*, _, etc) in inline tokens. |
4852 |
- |
| emphasis.py |
Insert each marker as a separate text token, and add it to delimiter list |
3123 |
- |
| entity.py |
|
1651 |
- |
| escape.py |
Process escaped chars and hardbreaks
|
1659 |
- |
| fragments_join.py |
Clean up tokens after emphasis and strikethrough postprocessing:
merge adjacent text nodes into one and re-calculate all token levels
This is necessary because initially emphasis delimiter markers (``*, _, ~``)
are treated as their own separate text tokens. Then emphasis rule either
leaves them as text (needed to merge with adjacent text) or turns them
into opening/closing tags (which messes up levels inside).
|
1984 |
- |
| html_inline.py |
|
1130 |
- |
| image.py |
|
4141 |
- |
| link.py |
|
4258 |
- |
| linkify.py |
Process links like https://example.org/ |
1706 |
- |
| newline.py |
Proceess '\n'. |
1297 |
- |
| state_inline.py |
Push new token to "stream".
If pending text exists - flush it as text token
|
4993 |
- |
| strikethrough.py |
Insert each marker as a separate text token, and add it to delimiter list.
When the ``strikethrough_single_tilde`` option is enabled on the
``MarkdownIt`` instance, single ``~`` delimiters are also accepted and
runs of three or more tildes are rejected (matching GitHub's rendering behaviour).
|
5171 |
- |
| text.py |
|
559 |
- |