aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/__main__.py
Commit message (Collapse)AuthorAgeFilesLines
* Flake8 cleanup (mostly whitespace).Waylan Limberg2014-11-201-21/+32
| | | | | | Got all but a couple files in the tests (ran out of time today). Apparently I have been using some bad form for years (although a few things seemed to look better before the update). Anyway, conformant now.
* Mark "Safe Mode" as pending deprecation.Waylan Limberg2014-09-011-1/+1
| | | | | Both `safe_mode` and `html_replacement_test` keywords are pending deprecation, as are positional args. Closes #337.
* Fixed a small bug in --extension_configs CLI option.Waylan Limberg2014-08-251-1/+1
| | | | | | | | | This needs to work with the JSON lib if PyYaml isn't available. Therefore, we can't catch a yaml specific exception. The tests are fine using a yaml specific exception as the yaml lib is required by the testing framework anyway. So yaml is always available when running the tests.
* Include __main__.py in coverage.Waylan Limberg2014-08-221-3/+3
|
* Added `--extension_configs` option to the CLI.Waylan Limberg2014-08-221-13/+37
| | | | | | | | | | The `--extension_configs` option must point to a YAML or JSON file. The contents of the file must parse to a Python Dict which will be passed to the `extension_configs` keyword of the `markdown.Markdown` class. Also added tests for all of the CLI option parsing options and updated documentation.
* 'http://packages.python.org/Markdown/' => ↵Waylan Limberg2014-08-211-1/+1
| | | | 'https://pythonhosted.org/Markdown/'. The former redirects to the latter anyway. Might as well point to the actual destination.
* Fixed #106. Replaced all references to freewisdom.org (except for Yuri's ↵Waylan Limberg2012-06-281-1/+1
| | | | homepage).
* Fixed #79. stdout now works from windows command line on Python 3.Waylan Limberg2012-02-131-1/+1
| | | | stdout is used later based on output being None. Don't try to get a jump on that.
* Fixed #61. stdin and stdout should work better in python 3.Waylan Limberg2011-12-281-1/+1
| | | | | Apparently, in Python3 stdin and stdout take str (unicode) not bytes. This provides a solution that will work in both python 2 & 3.
* Added support for python's '-m' command line option. Do 'python -m markdown ↵Waylan Limberg2011-08-031-0/+87
[options] [args]'. I suspect will drop the command line script (markdown_py) when we drop support for Python 2.4 as this is easier to support.