| 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.
|
|
|
|
| |
* md_tw.py (main): Update function.
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
* 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.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[output_hrule]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[hrule]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[header]: New 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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* 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.
|
|
|
|
| |
* 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.
|
|
|
|
| |
* md_tw.py (TWRenderer)[paragraph]: Update method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[block_code]: New method.
|
|
|
|
| |
* md_tw.py (TWRenderer)[tw_get]: New method.
|
|
|
|
|
|
|
|
|
|
| |
* md_tw.py (TWRenderer)[_tw_set_options]: Remove method.
[tw_set]: New method.
* tests/test_md_tw.py(TestTWRenderer)
[test_tw_set_options_with_valid_opts]: Remove test.
[test_tw_set_with_valid_opts]: Add test.
[test_tw_set_options_with_invalid_opts]: Remove test.
[test_tw_set_with_invalid_opts]: Add test.
|
|
|
|
| |
* md_tw.py (TWRenderer)[paragraph]: Update method.
|
|
|
|
| |
* md_tw.py (TWMarkdown)[parse]: Update method.
|
|
|
|
| |
* md_tw.py (__init__): Update method.
|
|
|
|
|
|
|
|
| |
* Makefile: Update file.
* markdown_textwrap/_version.py: Update file.
* md_tw.py: Update file.
* setup.py: Update file.
* tests/test_md_tw.py: Update file.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_def_footnotes): New method.
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_def_footnotes): New test.
* tests/data/blexer-footnotes.md: New file.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_def_links): New method.
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_def_links): New test.
* tests/data/blexer-def-links.md: New file.
|
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_block_quote): New method.
(TWBlockLexer.__init__): Update method.
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_block_quote): New test.
* tests/data/blexer-blockquote.md: New file.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer._process_list_item): New method
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_list_block): New test.
* tests/data/blexer-lists.md: New file.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_hrule): New method
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_hrule): New test.
* tests/data/blexer-hrules.md: New file.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_lheading): New method.
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_lheading): New method.
* tests/data/blexer-lheading.md: New file.
|