| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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 (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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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 (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 (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.
|
|
|
|
|
|
|
|
|
| |
* tests/data/renderer-paragraphs-w.md: New file.
* tests/data/renderer-paragraphs.md: New file.
* tests/test_md_tw.py (TestTWRenderer)[test_render_paragraph]: Test
for TWRenderer.paragraph.
[setup, teardown]: Update methods.
[_write_tmp, _get, _md, _validate]: New methods.
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/test_md_tw.py
(TestTWBlockLexer)[_validate, test_parse_list_block]
[test_parse_block_quote, test_parse_def_footnotes]
[test_parse_block_html]: Update methods.
(TestTWRenderer)[test_tw_obj_with_default_width]
[test_tw_obj_with_custom_width]
[test_tw_set_options_with_valid_opts]
[test_tw_set_options_with_invalid_opts]: Update methods.
|
|
|
|
|
| |
* tests/data/blexer-paragraphs.md: New file.
* tests/test_md_tw.py (TestTWBlockLexer.test_parse_paragraph): New test.
|
|
|
|
|
| |
* tests/data/blexer-block-html.md: New file.
* tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_html): New test.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* tests/data/paragraphs-with-inline-wrapped.md: Remove file.
* tests/data/paragraphs-with-inline.md: Remove file.
* tests/data/paragraphs-wrapped.md: Remove file.
* tests/data/paragraphs.md: Remove file.
* tests/test_md_tw.py
(TestTextWrapParagraphs): Remove test class.
|
|
|
|
|
| |
* tests/test_md_tw.py
(TestTWInlineLexer.test_default_rules_contents): Remove test.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_heading): New method.
* tests/data/blexer-heading.md: New file.
* tests/test_md_tw.py
(TestTWBlockLexer.test_parse_heading): New test.
|
|
|
|
|
|
| |
* md_tw.py (TWBlockLexer.parse_fences): New method.
* tests/data/blexer-fences.md: New file.
* tests/test_md_tw.py (test_parse_fences): New test.
|
|
|
|
|
|
|
|
|
|
| |
* md_tw.py
(TWBlockLexer.parse_block_code): New method.
* tests/test_md_tw.py
(TestTWBlockLexer._parse)
(TestTWBlockLexer._validate): New private methods.
(TestTWBlockLexer.test_parse_block_code): New test.
* tests/data/blexer-block-code.md: New file.
|
|
|
|
|
|
|
| |
* md_tw.py
(__init__): Remove default_rules.
* tests/test_md_tw.py
(test_default_rules_contents): Remove method.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* md_tw.py (TWBlockLexer, TWInlineLexer, TWRenderer)
(TWMarkdown): New classes.
* tests/data/paragraphs-with-inline-wrapped.md: New file.
* tests/data/paragraphs-with-inline.md: New file.
* tests/data/paragraphs-wrapped.md: New file.
* tests/data/paragraphs.md: New file.
* tests/test_md_tw.py (TestTWBlockLexer, TestTWInlineLexer,
TestTWRenderer, TestTWMarkdown)
(TestTextWrapParagraphs): New test classes.
|
|
* .gitignore: New file.
* CONTRIBUTORS: New file.
* COPYING: New file.
* HACKING.rst: New file.
* Makefile: New file.
* README.rst: New file.
* markdown_textwrap/__init__.py: New file.
* markdown_textwrap/_version.py: New file.
* md_tw.py: New file.
* requirements.txt: New file.
* setup.py: New file.
* tests/__init__.py: New file.
* tests/test_md_tw.py: New file.
|