diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-01-03 21:58:06 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-01-03 21:58:06 +0000 |
| commit | c8c86a268f815f1a03c832b8d3c1b23b4727bd61 (patch) | |
| tree | 61d246e2a0e2f403b66c1a02e0945f8519d4466a /tools/docutils-cli.py | |
| parent | 5f89d1ef782b43a0769dd62ad350d8f257f3bd90 (diff) | |
| download | docutils-c8c86a268f815f1a03c832b8d3c1b23b4727bd61.tar.gz | |
Clean up Markdown support.
Set 'docutils-cli.py' shebang to python3 (better chance of markdown support).
Remove the 'md2*.py' wrappers. (Use 'docutils-cli.py --parser=markdown'.)
Remove hard-coded print output from test suite when there is no recommonmark module.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk/docutils@8601 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'tools/docutils-cli.py')
| -rwxr-xr-x | tools/docutils-cli.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/docutils-cli.py b/tools/docutils-cli.py index d2b7c85f0..1807b2bd7 100755 --- a/tools/docutils-cli.py +++ b/tools/docutils-cli.py @@ -1,6 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf8 -*- -# :Copyright: © 2015 Günter Milde. +# :Copyright: © 2020 Günter Milde. # :License: Released under the terms of the `2-Clause BSD license`_, in short: # # Copying and distribution of this file, with or without modification, @@ -49,8 +49,8 @@ parser.add_argument('--writer', # choices=('html', 'html4', 'html5', 'latex', 'xelatex', # 'odt', 'xml', 'pseudoxml', 'manpage', # 'pep_html', 's5_html'), - help=u'Writer name (default "pseudoxml").', - default='pseudoxml') + help=u'Writer name (default "html5").', + default='html5') (args, remainder) = parser.parse_known_args() |
