diff options
author | Waylan Limberg <waylan@gmail.com> | 2011-08-03 16:54:01 -0300 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2011-08-03 16:54:01 -0300 |
commit | b27a94ebcd8125ede8ba983bc63f40c4a4977536 (patch) | |
tree | 6b53d33d2038f69927b5bf648295b6e5ed43c595 /docs | |
parent | 0f63660653d5bb2b90354ad4b9a34a226718ce5f (diff) | |
download | markdown-b27a94ebcd8125ede8ba983bc63f40c4a4977536.tar.gz markdown-b27a94ebcd8125ede8ba983bc63f40c4a4977536.tar.bz2 markdown-b27a94ebcd8125ede8ba983bc63f40c4a4977536.zip |
Updated release notes to include a note about support for python's `-m` option.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/release-2.1.0-alpha.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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. |