Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVonB committed Aug 31, 2022
2 parents 8f04775 + e8d041c commit 0c8ac57
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion markdownify/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@ def main(argv=sys.argv[1:]):
parser.add_argument('--default-title', action='store_false',
help="A boolean to enable setting the title of a link to its "
"href, if no title is given.")
parser.add_argument('--heading-style',
parser.add_argument('--heading-style', default='UNDERLINED',
choices=('ATX', 'ATX_CLOSED', 'SETEXT', 'UNDERLINED'),
help="Defines how headings should be converted.")
parser.add_argument('-b', '--bullets', default='*+-',
help="A string of bullet styles to use; the bullet will "
"alternate based on nesting level.")
parser.add_argument('--strong-em-symbol', default='ASTERISK',
choices=('ASTERISK', 'UNDERSCORE'),
help="Use * or _ to convert strong and italics text"),
parser.add_argument('--sub-symbol', default='',
help="Define the chars that surround '<sub>'.")
parser.add_argument('--sup-symbol', default='',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pkgmeta = {
'__title__': 'markdownify',
'__author__': 'Matthew Tretter',
'__version__': '0.11.4',
'__version__': '0.11.5',
}

read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ envlist = py38

[testenv]
deps =
flake8
pytest
flake8
restructuredtext_lint
Pygments
commands =
flake8 --ignore=E501,W503 markdownify tests
pytest
flake8 --ignore=E501,W503 markdownify tests
restructuredtext-lint README.rst

0 comments on commit 0c8ac57

Please sign in to comment.