Skip to content

Commit 0c8ac57

Browse files
committed
Merge branch 'develop'
2 parents 8f04775 + e8d041c commit 0c8ac57

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

markdownify/main.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ def main(argv=sys.argv[1:]):
2828
parser.add_argument('--default-title', action='store_false',
2929
help="A boolean to enable setting the title of a link to its "
3030
"href, if no title is given.")
31-
parser.add_argument('--heading-style',
31+
parser.add_argument('--heading-style', default='UNDERLINED',
3232
choices=('ATX', 'ATX_CLOSED', 'SETEXT', 'UNDERLINED'),
3333
help="Defines how headings should be converted.")
3434
parser.add_argument('-b', '--bullets', default='*+-',
3535
help="A string of bullet styles to use; the bullet will "
3636
"alternate based on nesting level.")
37+
parser.add_argument('--strong-em-symbol', default='ASTERISK',
38+
choices=('ASTERISK', 'UNDERSCORE'),
39+
help="Use * or _ to convert strong and italics text"),
3740
parser.add_argument('--sub-symbol', default='',
3841
help="Define the chars that surround '<sub>'.")
3942
parser.add_argument('--sup-symbol', default='',

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
pkgmeta = {
1010
'__title__': 'markdownify',
1111
'__author__': 'Matthew Tretter',
12-
'__version__': '0.11.4',
12+
'__version__': '0.11.5',
1313
}
1414

1515
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ envlist = py38
33

44
[testenv]
55
deps =
6-
flake8
76
pytest
7+
flake8
88
restructuredtext_lint
99
Pygments
1010
commands =
11-
flake8 --ignore=E501,W503 markdownify tests
1211
pytest
12+
flake8 --ignore=E501,W503 markdownify tests
1313
restructuredtext-lint README.rst
1414

0 commit comments

Comments
 (0)