summaryrefslogtreecommitdiffstats
path: root/mdl_style.py
Commit message (Collapse)AuthorAgeFilesLines
* use black for formattingrsiddharth2020-07-111-59/+94
|
* mdl_style: Update _get_args.rsiddharth2017-06-041-2/+15
| | | | | | 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.
* mdl_style.py: Add _write_to.rsiddharth2017-06-041-0/+12
| | | | * mdl_style.py (_write_to): New function.
* Fix line lengths.rsiddharth2017-06-041-7/+10
| | | | | | * mdl_style.py: Update file. * setup.py: Update file. * tests/test_mdl_style.py: Upate file.
* mdl_style: Update `LSMarkdown` class.rsiddharth2017-02-231-1/+7
| | | | | | | | 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.
* mdl_stlye: Update `LSRenderer` class.rsiddharth2017-02-221-0/+5
| | | | | | | | | | * 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.
* mdl_style: Add LSBlockGrammarrsiddharth2017-02-211-1/+43
| | | | | | | | | | | 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-211-0/+3
| | | | | * mdl_style.py (LSRenderer.text): Add method. * markdown_link_style/_version.py (__version__): Add variable.
* mdl_style.py: Update _get_args function.rsiddharth2017-02-191-2/+2
|
* CONTRIBUTORS.rst -> CONTRIBUTORSrsiddharth2017-02-191-2/+1
| | | | | | | | | | | * CONTRIBUTORS: Remove file. * CONTRIBUTORS.rst: Add file. * Makefile: Update copyright header. * markdown_link_style/_version.py: Update copyright header. * markdown_link_style/logging.py: Update copyright header. * mdl_style.py: Update copyright header. * setup.py: Update copyright header. * tests/test_mdl_style.py: Update copyright header.
* Add CONTRIBUTORS.rst.rsiddharth2017-02-191-1/+2
| | | | | | | | | | * CONTRIBUTORS.rst: Add file. * Makefile: Update copyright header. * markdown_link_style/_version.py: Update copyright header. * markdown_link_style/logging.py: Update copyright header. * mdl_style.py: Update copyright header. * setup.py: Update copyright header. * tests/test_mdl_style.py: Update copyright header.
* Add initial version the script.rsiddharth2017-02-191-1/+176
| | | | | | | | | | | | | | | | | | | * markdown_link_style/_version.py (__version__): Update version. * markdown_link_style/logging.py: New module * mdl_style.py (logger): Add variable. (LSBlockLexer, LSInlineLexer, LSRenderer, LSMarkdown) (LinkStyler): Add classes. (_mdl_stylize, _get_args): Add functions. (main): Update function. * tests/__init__.py: Add file. * tests/data/autolink_00-expected.md: Add file. * tests/data/autolink_00.md: Add file. * tests/data/footnote_link_style_00-expected.md: Add file. * tests/data/footnote_link_style_00.md: Add file. * tests/data/inline_link_style_00-expected.md: Add file. * tests/data/inline_link_style_00.md: Add file. * tests/test_mdl_style.py (TestMdlStyle): Remove class. (TestLSRendererIL, TestLSRendererFN): Add classes.
* Initial commit.rsiddharth2017-02-181-0/+22