Compare commits

..

4 Commits

Author SHA1 Message Date
AlexVonB
0c8ac578c9 Merge branch 'develop' 2022-08-31 21:45:38 +02:00
AlexVonB
e8d041c251 bump to v0.11.5 2022-08-31 21:45:24 +02:00
AlexVonB
f729c3ba43 first test, then lint 2022-08-31 21:44:53 +02:00
AlexVonB
eddfdae4ca fix cli options: default heading, em symbols 2022-08-31 21:44:42 +02:00
3 changed files with 7 additions and 4 deletions

View File

@@ -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='',

View File

@@ -9,7 +9,7 @@ read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()
pkgmeta = {
'__title__': 'markdownify',
'__author__': 'Matthew Tretter',
'__version__': '0.11.4',
'__version__': '0.11.5',
}
read = lambda filepath: codecs.open(filepath, 'r', 'utf-8').read()

View File

@@ -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