Commits

Waylan Limberg committed 28cca51

Added commandline script and updated CHANGE_LOG and MANIFEST.

  • Participants
  • Parent commits 8529490

Comments (0)

Files changed (5)

 PYTHON MARKDOWN CHANGELOG
 =========================
 
+August 2008: Updated included extensions to ElementTree. Added a 
+seperate commanline script. (v2.0-alpha)
+
+July 2008: Switched from home-grown NanoDOM to ElementTree and
+various related bugs (thanks Artem Yunusov).
+
+June 2008: Fixed issues with nested inline patterns and cleaned 
+up testing framework (thanks Artem Yunusov).
+
+May 2008: Added a number of additional extensions to the
+distribution and other minor changes. Moved repo to git from svn.
+
+Mar 2008: Refactored extension api to accept either an 
+extension name (as a string) or an instance of an extension
+(Thanks David Wolever). Fixed various bugs and added doc strings.
+
+Feb 2008: Various bugfixes mostly regarding extensions.
+
+Feb 18, 2008: Version 1.7.
+
 Feb 13, 2008: A little code cleanup and better documentation
 and inheritance for pre/post proccessors.
 
 README.html
 CHANGE_LOG.txt
 markdown.py
+mdx_codehilite.py
+mdx_fenced_code.py
 mdx_footnotes.py
+mdx_headerid.py
+mdx_imagelinks.py
+mdx_meta.py
 mdx_rss.py
+mdx_tables.py
+mdx_wikilink.py
 setup.py
+scripts/pymarkdown.py
             'extensions': options.extensions,
             'encoding': options.encoding }
 
-if __name__ == '__main__':
+def main():
     """ Run Markdown from the command line. """
 
     options = parse_options()
 
-    #if os.access(inFile, os.R_OK):
-
     if not options:
         sys.exit(0)
     
     markdownFromFile(**options)
+
+if __name__ == '__main__':
+    main()

scripts/pymarkdown.py

+#!/usr/bin/env python
+"""
+Python-Markdown Command Line Script
+===================================
+
+See <http://www.freewisdom.org/projects/python-markdown/> for more
+information and instructions on how to extend the functionality of the
+script.  
+
+Started by [Manfred Stienstra](http://www.dwerg.net/).  Continued and
+maintained  by [Yuri Takhteyev](http://www.freewisdom.org) and [Waylan
+Limberg](http://achinghead.com/).
+
+Contact: 
+
+* <yuri@freewisdom.org>
+* <waylan@gmail.com>
+
+License: [GPL 2](http://www.gnu.org/copyleft/gpl.html) or BSD
+"""
+
+import markdown, sys
+
+if __name__ == '__main__':
+    """ Run Markdown from the command line. """
+
+    markdown.main()
                 "mdx_tables",
                 "mdx_wikilink",
                 ],
+    scripts = ['scripts/pymarkdown.py'],
     )