summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* md_tw.py: Add TWBlockLexer.parse_hrule.rsiddharth2018-01-022-0/+32
| | | | | | | | * 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-022-0/+24
| | | | | | | | * 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-022-0/+22
| | | | | | | | * 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-022-0/+22
| | | | | | * 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-022-2/+27
| | | | | | | | | | * 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: Update `TWBlockLexer.__init__`.rsiddharth2018-01-021-2/+0
| | | | | | | * md_tw.py (__init__): Remove default_rules. * tests/test_md_tw.py (test_default_rules_contents): Remove method.
* md_tw.py: Add Text Wrap classes (derived from mistune' classes).rsiddharth2017-07-245-1/+363
| | | | | | | | | | | | * 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.
* Initial commit.rsiddharth2017-07-162-0/+31
* .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.