summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* md_tw.py: Add TWMarkdown.output_loose_item.rsiddharth2018-02-191-0/+35
| | | | * md_tw.py (TWMarkdown)[output_loose_item]: New method.
* md_tw.py: Add TWMarkdown.output_list_item.rsiddharth2018-02-191-0/+41
| | | | * md_tw.py (TWMarkdown)[output_list_item]: New method.
* md_tw.py: Update TWMarkdown.output_block_quote.rsiddharth2018-02-191-7/+3
| | | | * md_tw.py (TWMarkdown)[output_block_quote]: Update method.
* md_tw.py: Add TWMarkdown._remove_prefix.rsiddharth2018-02-191-0/+8
| | | | * md_tw.py (TWMarkdown)[_remove_prefix]: New method.
* md_tw.py: Add TWMarkdown._add_prefix.rsiddharth2018-02-191-0/+7
| | | | * md_tw.py (TWMarkdown)[_add_prefix]: New method.
* md_tw.py: Rename TWRenderer._tw_fill.rsiddharth2018-02-191-2/+2
| | | | | | * md_tw.py (TWRenderer)[_tw_fill]: Remove method. [tw_fill]: New method. [paragraph]: Update method.
* md_tw.py: Add TWRenderer.listrsiddharth2018-02-191-0/+4
| | | | * md_tw.py (TWRenderer)[list]: New method.
* md_tw.py: Add TWRenderer.list_item.rsiddharth2018-02-191-0/+5
| | | | * md_tw.py (TWRenderer)[list_item]: New method.
* tests: Add TestTWRenderer.test_render_block_html.rsiddharth2018-02-183-0/+50
| | | | | | * 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: Add TWMarkdown.output_block_html.rsiddharth2018-02-181-0/+4
| | | | * md_tw.py (TWMarkdown)[output_block_html]: New method.
* md_tw.py: Add TWRenderer.block_html.rsiddharth2018-02-181-0/+6
| | | | * md_tw.py (TWRenderer)[block_html]: New method.
* md_tw.py: Add TWBlockLexer.parse_block_html.rsiddharth2018-02-182-23/+14
| | | | | | * md_tw.py (TWBlockLexer)[parse_block_html]: New method. * tests/test_md_tw.py (TestTWBlockLexer) [test_parse_block_html]: Update test method.
* tests: Update TestTWRenderer.test_render_block_code.rsiddharth2018-02-183-0/+31
| | | | | | * 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: Add TestTWRenderer.test_render_block_code.rsiddharth2018-02-183-0/+26
| | | | | | | * 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: Add TWMarkdown.output_block_quote.rsiddharth2018-02-181-0/+17
| | | | * md_tw.py (TWMarkdown)[output_block_quote]: New method.
* md_tw.py: Add TWMarkdown._client_ts.rsiddharth2018-02-181-0/+11
| | | | | * md_tw.py (TWMarkdown)[_client_ts]: New method. [parse]: Update method.
* md_tw.py: Add TWRenderer.block_quote.rsiddharth2018-02-181-0/+4
| | | | * md_tw.py (TWRenderer)[block_quote]: New method.
* md_tw.py: Update TWRenderer.paragraph.rsiddharth2018-02-181-3/+3
| | | | * md_tw.py (TWRenderer)[paragraph]: Update method.
* md_tw.py: Add TWRenderer.block_code.rsiddharth2018-02-181-0/+5
| | | | * md_tw.py (TWRenderer)[block_code]: New method.
* md_tw.py: Add TWRenderer.tw_get.rsiddharth2018-02-181-0/+5
| | | | * md_tw.py (TWRenderer)[tw_get]: New method.
* tests: Update blexer-block-code.md.rsiddharth2018-02-181-1/+1
| | | | * tests/data/blexer-block-code.md: Update file.
* md_tw.py: Rename TWRenderer._tw_set_options method.rsiddharth2018-02-182-6/+6
| | | | | | | | | | * 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: Add test for TWRenderer.paragraph.rsiddharth2018-02-183-2/+78
| | | | | | | | | * 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.
* md_tw.py: Update TWRenderer.paragraph.rsiddharth2018-02-181-1/+3
| | | | * md_tw.py (TWRenderer)[paragraph]: Update method.
* md_tw.py: Update TWMarkdown.parse.rsiddharth2018-02-181-2/+2
| | | | * md_tw.py (TWMarkdown)[parse]: Update method.
* md_tw.py: Update TWInlineLexer.rsiddharth2018-02-181-3/+0
| | | | * md_tw.py (__init__): Update method.
* tests: Rename assert_equal to nose_tools.assert_equal.rsiddharth2018-02-181-21/+21
| | | | | | | | | | | * 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: Add test_parse_paragraph.rsiddharth2018-01-072-0/+65
| | | | | * tests/data/blexer-paragraphs.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_paragraph): New test.
* tests: Add test_parse_block_html.rsiddharth2018-01-072-0/+96
| | | | | * tests/data/blexer-block-html.md: New file. * tests/test_md_tw.py (TestTWBlockLexer.test_parse_block_html): New test.
* Remove HACKING.rst.rsiddharth2018-01-061-35/+0
|
* Remove CONTRIBUTORS.rsiddharth2018-01-021-7/+0
|
* Update copyright.rsiddharth2018-01-025-5/+5
| | | | | | | | * 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: Remove TestTextWrapParagraphs.rsiddharth2018-01-025-241/+0
| | | | | | | | | * 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: Remove TestTWInlineLexer.test_default_rules_contents.rsiddharth2018-01-021-5/+0
| | | | | * tests/test_md_tw.py (TestTWInlineLexer.test_default_rules_contents): Remove test.
* md_tw.py: Add `TWBlockLexer.parse_def_footnotes`.rsiddharth2018-01-023-0/+163
| | | | | | | | * 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: Add TWBlockLexer.parse_def_links.rsiddharth2018-01-023-0/+62
| | | | | | | | * 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: Add TWBlockLexer.parse_block_quote.rsiddharth2018-01-023-0/+190
| | | | | | | | | * 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: Add TWBlockLexer._process_list_item.rsiddharth2018-01-023-0/+345
| | | | | | | | * 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: Add TWBlockLexer.parse_hrule.rsiddharth2018-01-023-0/+38
| | | | | | | | * 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: Add TWBlockLexer.parse_lheading.rsiddharth2018-01-023-0/+32
| | | | | | | | * 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: Add TWBlockLexer.parse_heading.rsiddharth2018-01-023-0/+29
| | | | | | | | * 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: Add `TWBlockLexer.parse_fences`.rsiddharth2018-01-023-0/+29
| | | | | | * 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: Add `TWBlockLexer.parse_block_code`.rsiddharth2018-01-023-2/+34
| | | | | | | | | | * 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: Add TWBlockLexer._keyify.rsiddharth2018-01-021-0/+8
| | | | | | * md_tw.py (TWBlockLexer._keyify): New private method. (TWBlockLexer.__init__): Update method.
* md_tw: Update `TWBlockLexer.__init__`.rsiddharth2018-01-022-3/+0
| | | | | | | * md_tw.py (__init__): Remove default_rules. * tests/test_md_tw.py (test_default_rules_contents): Remove method.
* md_tw.py: `from mistune import ...` -> `import mistune`rsiddharth2018-01-021-6/+6
| | | | | | | | * md_tw.py (TWBlockLexer): Inherit from mistune.BlockLexer. (TWInlineLexer): Inherit from mistune.InlineLexer. (TWRenderer): Inherit from mistune.Renderer. (TWMarkdown): Inherit from mistune.Markdown.
* setup.py: Update config.rsiddharth2017-12-172-2/+2
| | | | | | * requirements.txt: Pin mistune at 0.8.3. * setup.py (config [install_requires]): Pin mistune at 0.8.3.
* HACKING.rst: Update file.rsiddharth2017-12-011-1/+1
|
* setup.py: Update config.rsiddharth2017-12-011-1/+0
|
* HACKING.rst: Updat file.rsiddharth2017-12-011-5/+3
|