We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8f04775 + e8d041c commit 0c8ac57Copy full SHA for 0c8ac57
markdownify/main.py
@@ -28,12 +28,15 @@ def main(argv=sys.argv[1:]):
28
parser.add_argument('--default-title', action='store_false',
29
help="A boolean to enable setting the title of a link to its "
30
"href, if no title is given.")
31
- parser.add_argument('--heading-style',
+ parser.add_argument('--heading-style', default='UNDERLINED',
32
choices=('ATX', 'ATX_CLOSED', 'SETEXT', 'UNDERLINED'),
33
help="Defines how headings should be converted.")
34
parser.add_argument('-b', '--bullets', default='*+-',
35
help="A string of bullet styles to use; the bullet will "
36
"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"),
40
parser.add_argument('--sub-symbol', default='',
41
help="Define the chars that surround '<sub>'.")
42
parser.add_argument('--sup-symbol', default='',
setup.py
@@ -9,7 +9,7 @@
9
pkgmeta = {
10
'__title__': 'markdownify',
11
'__author__': 'Matthew Tretter',
12
- '__version__': '0.11.4',
+ '__version__': '0.11.5',
13
}
14
15
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
tox.ini
@@ -3,12 +3,12 @@ envlist = py38
3
4
[testenv]
5
deps =
6
- flake8
7
pytest
+ flake8
8
restructuredtext_lint
Pygments
commands =
- flake8 --ignore=E501,W503 markdownify tests
+ flake8 --ignore=E501,W503 markdownify tests
restructuredtext-lint README.rst
0 commit comments