| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Don't append rstripped prefix.
The rstripped prefix was appended before to render paragraphs
correctly inside a blockquote. The blockquote rendering was updated to
handle this; therefore paragraph rendering should not concern itself
with this now.
* md_tw.py (TWRenderer.paragraph): Update method.
|
|
|
|
|
|
|
|
|
|
|
| |
Add subsequent indent text to all 'block' tokens inside block quote.
* md_tw.py (TWMarkdown.output_block_quote): Update method.
(TWRenderer.block_quote): Update method.
* tests/data/renderer-block-quote-w.md: New file.
* tests/data/renderer-block-quote.md: New file.
* tests/data/renderer-fences-w.md: Update file.
* tests/test_md_tw.py (test_render_block-_quote): New test.
|
|
|
|
|
|
|
|
| |
Add prefix, if it exists, to heading.
* md_tw.py (TWMarkdown.output_heading): Override super class's method.
* tests/data/renderer-heading-w.md: Update file.
* tests/data/renderer-heading.md: Update file.
|
|
|
|
|
|
|
| |
Don't add prefix for empty lines.
* markdown_textwrap/_version.py (__version__): Update variable.
* md_tw.py (TWRenderer.block_code): Update method.
|
|
|
|
| |
* markdown_textwrap/_version.py (__versionn__): Update variable.
|
| |
|
|
|
|
| |
* markdown_textwrap/_version.py (__version__): Update variable.
|
| |
|
|
|
|
| |
* md_tw.py (main): Update function.
|
|
|
|
|
|
|
| |
* tests/data/renderer-footnotes-w.md: New file.
* tests/data/renderer-footnotes.md: New file.
* tests/test_md_tw.py (TestTWRenderer)
[test_render_footnote_item]: New test method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_footnote]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[footnote_item]: New method.
|
|
|
|
| |
* md_tw.py (TWBlockLexer)[parse_def_footnotes]: Don't keyify key.
|
|
|
|
| |
* md_tw.py (TWRenderer)[block_quote]: Append newline to out.
|
|
|
|
| |
* md_tw.py (TWRenderer)[paragraph]: Update method.
|
| |
|
|
|
|
|
|
| |
* tests/data/renderer-def-links-w.md: New file.
* tests/data/renderer-def-links.md: New file.
* tests/test_md_tw.py (test_render_def_link): New test method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_def_link]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[def_link]: New method.
|
|
|
|
|
|
| |
* md_tw.py (TWBlockLexer)[parse_def_links]: Update method.
* tests/test_md_tw.py (TWBlockLexer)[test_parse_def_link]: New test method.
[test_parse_def_links]: Remove test method.
|
|
|
|
|
|
| |
* tests/data/renderer-hrules-w.md: New file.
* tests/data/renderer-hrules.md: New file.
* tests/test_md_tw.p (TestTWRenderer)[test_render_hrule]: New test method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_hrule]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[hrule]: New method.
|
|
|
|
|
|
|
|
| |
* tests/data/renderer-heading-w.md: New file.
* tests/data/renderer-heading.md: New file.
* tests/data/renderer-lheading-w.md: New file.
* tests/data/renderer-lheading.md: New file.
* tests/test_md_tw.py (test_render_header): New test method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[header]: New method.
|
|
|
|
|
|
| |
* tests/data/renderer-lists-w.md: New file.
* tests/data/renderer-lists.md: New file.
* tests/test_md_tw.py (test_render_list): New test method.
|
|
|
|
|
|
| |
Set width beforing rendering item.
* md_tw.py (TWMarkdown)[output_list_item]: Update function.
|
|
|
|
|
|
| |
Refactor indenting.
* md_tw.py (TWMarkdown)[output_loose_item]: Update method.
|
|
|
|
|
| |
* tests/test_md_tw.py (TestTWRenderer)[teardown_class]: New method.
[teardown]: Update method.
|
|
|
|
|
| |
* tests/test_md_tw.py (TestTWRenderer)[setup_class]: New method.
[setup]: Update method.
|
|
|
|
|
|
| |
Set width before rendering item.
* md_tw.py (TWMarkdown)[output_loose_item]: Update method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_list_item]: Update method.
|
|
|
|
| |
* md_tw.py (TWBlockLexer)[_process_list_item]: Update method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_loose_item]: New method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_list_item]: New method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_block_quote]: Update method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[_remove_prefix]: New method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[_add_prefix]: New method.
|
|
|
|
|
|
| |
* md_tw.py (TWRenderer)[_tw_fill]: Remove method.
[tw_fill]: New method.
[paragraph]: Update method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[list]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[list_item]: New method.
|
|
|
|
|
|
| |
* tests/data/renderer-block-html-w.md: New file.
* tests/data/renderer-block-html.md: New file.
* tests/test_md_tw.py (test_render_block_html): New test method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_block_html]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[block_html]: New method.
|
|
|
|
|
|
| |
* md_tw.py (TWBlockLexer)[parse_block_html]: New method.
* tests/test_md_tw.py (TestTWBlockLexer)
[test_parse_block_html]: Update test method.
|
|
|
|
|
|
| |
* tests/data/renderer-fences-w.md: New file.
* tests/data/renderer-fences.md: New file.
* tests/test_md_tw.py (test_render_block_code): Update test method.
|
|
|
|
|
|
|
| |
* tests/data/renderer-block-code-w.md: New file.
* tests/data/renderer-block-code.md: New file.
* tests/test_md_tw.py (TestTWRenderer)
[test_render_block_code]: New test method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_block_quote]: New method.
|
|
|
|
|
| |
* md_tw.py (TWMarkdown)[_client_ts]: New method.
[parse]: Update method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[block_quote]: New method.
|