summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: add 'develop'rsiddharth2020-07-111-0/+5
|
* Makefile: Add 'fmt'.rsiddharth2020-07-111-0/+4
|
* Makefile: update 'upload'rsiddharth2020-07-111-4/+4
|
* Makefile: clean-build -> cleanrsiddharth2020-07-111-5/+3
|
* Makefile: Remove egg.rsiddharth2020-07-111-4/+0
|
* Makefile: Update test.rsiddharth2020-07-111-1/+1
|
* Makefile: Update clean-pyc.rsiddharth2020-07-111-1/+1
|
* Makefile: Remove clean-venv.rsiddharth2020-07-111-8/+0
|
* requirements.txt: Add black.rsiddharth2020-07-111-6/+1
| | | | | Also remove mistune. requirments.txt is only used when hacking on the package and `python setup.py develop` installs mistune.
* setup.py: Update install_requiresrsiddharth2020-07-112-2/+2
| | | | | | * markdown_link_style/_version.py * setup.py (install_requires): Stick to mistune version <1. I think version 2 is not backward compatible with version 0.X series.
* markdown_link_style: Set __version__ to 0.2.0.v0.2.0rsiddharth2017-06-051-1/+1
| | | | * markdown_link_style/_version.py (__version__): Update variable.
* Update Makefile.rsiddharth2017-06-041-0/+2
|
* tests: Add TestMdlStyleGetArgs.rsiddharth2017-06-041-1/+73
| | | | * tests/test_mdl_style.py (TestMdlStyleGetArgs): Add test class.
* tests: Add TestMdlStyleMdlStylize.rsiddharth2017-06-041-0/+63
| | | | * tests/test_mdl_style.py (TestMdlStyleMdlStylize): New test class.
* mdl_style: Update _get_args.rsiddharth2017-06-042-6/+29
| | | | | | mdl_style.py (_mdl_stylize): Update function. (_get_args): Update function. README.rst: Update file.
* mdl_style.py: Update _get_args.rsiddharth2017-06-041-4/+5
| | | | | | | - Add `args` as an optional argument t `_get_args`. - Update the help text for argument `link_style` and `file`. * mdl_style.py (_get_args): Update function.
* tests: Add test_mdl_style._get_data_path.rsiddharth2017-06-041-1/+4
| | | | * tests/test_mdl_style.py (_get_data_path): New function.
* mdl_style.py: Add _write_to.rsiddharth2017-06-041-0/+12
| | | | * mdl_style.py (_write_to): New function.
* Fix line lengths.rsiddharth2017-06-043-13/+22
| | | | | | * mdl_style.py: Update file. * setup.py: Update file. * tests/test_mdl_style.py: Upate file.
* README.rst: Update install section.v0.1.1rsiddharth2017-03-212-2/+2
| | | | * markdown_link_style/_version.py (__version__): Update variable.
* Bump to version 0.1.0v0.1.0rsiddharth2017-03-211-1/+1
| | | | * markdown_link_style/_version.py (__version__): Update variable.
* TODO: Update file.rsiddharth2017-03-211-3/+0
|
* README.rst: Add install section.rsiddharth2017-03-211-1/+6
|
* README.rst: Update usage section.rsiddharth2017-03-211-2/+2
|
* setup.py: Update description.rsiddharth2017-03-212-2/+2
| | | | | * markdown_link_style/_version.py (__version__): Update variable. * setup.py (description): Update key.
* tests: Add `TestMDLSLogger.test_critical`.rsiddharth2017-03-201-0/+5
| | | | | * tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_critical): Add test method.
* test: Add `TestMDLSLogger.test_error`rsiddharth2017-03-201-0/+5
| | | | | * tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_error): Add test method.
* tests: Update `TestMDLSLogger.test_warning`.rsiddharth2017-03-201-1/+3
| | | | | * tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_warning): Update test method.
* tests: Update `TestMDLSLogger.test_info`.rsiddharth2017-03-201-1/+3
| | | | | * tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_info): Update method.
* tests: Update `TestMDLSLogger.test_debug`rsiddharth2017-03-201-2/+9
| | | | | * tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_debug) (TestMDLSLogger.setup): Update methods.
* markdown_link_style: Update `MDLSLogger`.rsiddharth2017-03-201-1/+9
| | | | | | Add console handler (logging.StreamHandler) to logger. * markdown_link_style/logging.py (MDLSLogger.__init__): Update method.
* markdown_link_style: Update `MDLSLogger`.rsiddharth2017-03-201-5/+0
| | | | | * markdown_link_style/logging.py (MDLSLogger.log) (MDLSLogger.exception): Remove methods.
* TODO: Update.rsiddharth2017-03-041-4/+2
|
* tests: Update `test_mdl_style.TestLSRendererFN` class.rsiddharth2017-03-043-0/+50
| | | | | | | | * tests/data/footnote_link_style_01-expected.md: New file. * tests/data/footnote_link_style_01.md: New file. * tests/test_mdl_style.py (TestLSRendererFN.test_link_inline_to_footnote_style_conversion_01): Add method.
* tests: Update `test_mdl_style.TestLSRendererIL` class.rsiddharth2017-03-043-0/+36
| | | | | | | * tests/data/inline_link_style_01-expected.md: New file. * tests/data/inline_link_style_01.md: New file. * tests/test_mdl_style.py (TestLSRendererIL.test_link_footnote_to_inline_style_conversion_01): Add method.
* Move tests MDLSLogger in its own test module.rsiddharth2017-03-042-21/+41
| | | | | * tests/test_markdown_link_style/test_logging.py: New file. * tests/test_mdl_style.py (TestMDLSLogger): Remove class.
* CONTRIBUTORS: Add jantwisted.rsiddharth2017-02-261-0/+1
|
* unit tests for markdown_link_style.logging modulejantwisted2017-02-262-8/+29
|
* README.rst: Update script description.rsiddharth2017-02-231-2/+1
|
* tests: Change test method names in test_mdl_style module.rsiddharth2017-02-231-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_parses_images): Remove test method. (TestLSRendererIL.test_renderer_parses_images_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_link_breaks_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_headers): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_headers_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_lists): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_lists_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_emphasis): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_emphasis_00): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_code): Remove test method. (TestLSRendererIL.test_renderer_does_not_parse_code_00): Add test method. (TestLSRendererFN.test_renderer_parses_images): Remove test method. (TestLSRendererFN.test_renderer_parses_images_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_link_breaks): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_link_breaks_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_headers): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_headers_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_blockquotes): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_blockquotes_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_lists): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_lists_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_codeblocks): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_codeblocks_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_hrules): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_hrules_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_emphasis): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_emphasis_00): Add test method. (TestLSRendererFN.test_renderer_does_not_parse_code): Remove test method. (TestLSRendererFN.test_renderer_does_not_parse_code_00): Add test method.
* Update TODOrsiddharth2017-02-231-4/+0
|
* tests: Update test_mdl_style.TestLSRendererFNrsiddharth2017-02-233-0/+60
| | | | | | | | | | | | | | | | * tests/data/footnote_parses_images_00-expected.md: Update file. * tests/data/footnote_parses_images_00.md: Update file. * tests/test_mdl_style.py (TestLSRendererFN.test_autolink_00) (TestLSRendererFN.test_renderer_parses_images) (TestLSRendererFN.test_renderer_does_not_parse_link_breaks) (TestLSRendererFN.test_renderer_does_not_parse_headers) (TestLSRendererFN.test_renderer_does_not_parse_blockquotes) (TestLSRendererFN.test_renderer_does_not_parse_lists) (TestLSRendererFN.test_renderer_does_not_parse_codeblocks) (TestLSRendererFN.test_renderer_does_not_parse_hrules) (TestLSRendererFN.test_renderer_does_not_parse_emphasis) (TestLSRendererFN.test_renderer_does_not_parse_code): Add test methods.
* mdl_style: Update `LSMarkdown` class.rsiddharth2017-02-232-2/+8
| | | | | | | | Reset renderer's footnote link related variables each time text is parsed with the `LSMarkdown.parse` method. * markdown_link_style/_version.py (__version__): Update variable. * mdl_style.py (LSMarkdown.parse): Update method.
* Update TODOrsiddharth2017-02-221-21/+3
|
* tests: Update `test_mdl_style.TestLSRendererIL` class.rsiddharth2017-02-223-0/+34
| | | | | | | | * tests/data/does_not_parse_code_00.md: Add file. * tests/data/does_not_parse_emphasis_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_emphasis) (TestLSRendererIL.test_renderer_does_not_parse_code): Add methods.
* mdl_stlye: Update `LSRenderer` class.rsiddharth2017-02-226-3/+23
| | | | | | | | | | * TODO: Update file. * markdown_link_style/_version.py (__version__): Update variable. * mdl_style.py (LSRenderer.image): Add method. * tests/data/inline_parses_images_00-expected.md: Add file. * tests/data/inline_parses_images_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_parses_images): Add test method.
* tests.tests.mdl_style: Add tests for `mdl_style.LSRenderer`.rsiddharth2017-02-218-10/+249
| | | | | | | | | | | | | | | | | * TODO: Update file. * tests/data/does_not_parse_blockquotes_00.md: Add file. * tests/data/does_not_parse_codeblocks_00.md: Add file. * tests/data/does_not_parse_headers_00.md: Add file. * tests/data/does_not_parse_hrules_00.md: Add file. * tests/data/does_not_parse_link_breaks_00.md: Add file. * tests/data/does_not_parse_lists_00.md: Add file. * tests/test_mdl_style.py (TestLSRendererIL.test_renderer_does_not_parse_link_breaks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_headers): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_blockquotes): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_lists): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_codeblocks): Add test method. (TestLSRendererIL.test_renderer_does_not_parse_hrules): Add test method.
* mdl_style: Add LSBlockGrammarrsiddharth2017-02-212-2/+44
| | | | | | | | | | | mdl_style.LSBlockLexer uses LSBlockGrammar instead of the default mistune.BlockGrammar. * mdl_style.py (LSBlockGrammar): Add class (_inline_tags, _valid_end, _block_tag): Add variables (from mistune). (_pure_pattern): Add function (from mistune). (LSBlockLexer): Update class. * markdown_link_style/_version.py (__version__): Update variable.
* mdl_style.py: Update LSRendererrsiddharth2017-02-212-1/+4
| | | | | * mdl_style.py (LSRenderer.text): Add method. * markdown_link_style/_version.py (__version__): Add variable.
* README.rst: Update "usage" section.rsiddharth2017-02-191-2/+2
|