From b27a94ebcd8125ede8ba983bc63f40c4a4977536 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Wed, 3 Aug 2011 16:54:01 -0300 Subject: Updated release notes to include a note about support for python's `-m` option. --- docs/release-2.1.0-alpha.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/release-2.1.0-alpha.txt b/docs/release-2.1.0-alpha.txt index 5fb6ac7..8b05558 100644 --- a/docs/release-2.1.0-alpha.txt +++ b/docs/release-2.1.0-alpha.txt @@ -97,6 +97,12 @@ the markdown parser and throwing it away. Import statements within markdown have been improved so that third party libraries can embed the markdown library if they desire (licencing permitting). +Added support for Python's `-m` command line option. You can run the markdown +package as a command line script. Do `python -m markdown [options] [args]`. +Note that this is only fully supported in Python 2.7+. Python 2.5 & 2.6 +require you to call the module directly (`markdown.__main__`) rather than +the package (`markdown`). This does not work in Python 2.4. + The commandline script has been renamed to `markdown_py` which avoids all the various problems we had with previous names. Also improved the commandline script to accept input on stdin. -- cgit v1.2.3