| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Also remove mistune. requirments.txt is only used when hacking on the
package and `python setup.py develop` installs mistune.
|
|
|
|
|
|
| |
* 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/_version.py (__version__): Update variable.
|
| |
|
|
|
|
| |
* tests/test_mdl_style.py (TestMdlStyleGetArgs): Add test class.
|
|
|
|
| |
* tests/test_mdl_style.py (TestMdlStyleMdlStylize): New test class.
|
|
|
|
|
|
| |
mdl_style.py (_mdl_stylize): Update function.
(_get_args): Update function.
README.rst: Update file.
|
|
|
|
|
|
|
| |
- 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/test_mdl_style.py (_get_data_path): New function.
|
|
|
|
| |
* mdl_style.py (_write_to): New function.
|
|
|
|
|
|
| |
* mdl_style.py: Update file.
* setup.py: Update file.
* tests/test_mdl_style.py: Upate file.
|
|
|
|
| |
* markdown_link_style/_version.py (__version__): Update variable.
|
|
|
|
| |
* markdown_link_style/_version.py (__version__): Update variable.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* markdown_link_style/_version.py (__version__): Update variable.
* setup.py (description): Update key.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_critical): Add test method.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_error): Add test method.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_warning): Update test method.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py
(TestMDLSLogger.test_info): Update method.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py (TestMDLSLogger.test_debug)
(TestMDLSLogger.setup): Update methods.
|
|
|
|
|
|
| |
Add console handler (logging.StreamHandler) to logger.
* markdown_link_style/logging.py (MDLSLogger.__init__): Update method.
|
|
|
|
|
| |
* markdown_link_style/logging.py (MDLSLogger.log)
(MDLSLogger.exception): Remove methods.
|
| |
|
|
|
|
|
|
|
|
| |
* 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/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.
|
|
|
|
|
| |
* tests/test_markdown_link_style/test_logging.py: New file.
* tests/test_mdl_style.py (TestMDLSLogger): Remove class.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.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 (LSRenderer.text): Add method.
* markdown_link_style/_version.py (__version__): Add variable.
|
| |
|