Commits

Jonathan Eunice committed e70659b

tweaking package files

Comments (0)

Files changed (5)

+
+
+A Python-Markdown extension that uses smartypants to provide typographically nicer ("curly") quotes, proper ("em" and "en") dashes, etc.
+
+Installation
+============
+
+Use::
+
+    pip install mdx_smartypants
+    
+Or::
+
+    easy_install mdx_smartypants
+    
+(You may need to begin these with "sudo ".)
+
+Usage
+=====
+
+To use::
+
+    import markdown
+    import mdx_smartypants
+    
+    md = markdown.Markdown(extensions=['smartypants'])
+    
+    md_text = """
+        This is some Markdown. It's pretty nice, and simple. But--it could
+        really use some typographic "prettification." That... That would
+        be sweet. Definitely 7---8 on a '10-point scale'.
+        
+        Huzzah!
+    """
+
+    print md.convert(md_text)
+
+This produces nice HTML output, including typographically "pretty" quotes and other
+punctuation. It also renders HTML entites in their named rather than numeric form
+for easier-on-the-eyes, more-rapidly-comprehended HTML::
+
+    <p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+    really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+    be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+    <p>Huzzah!</p>
+    
+Which renders as:
+
+.. raw:: html
+
+<p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+<p>Huzzah!</p>
+
+
+A Python-Markdown extension that uses smartypants to provide typographically nicer ("curly") quotes, proper ("em" and "en") dashes, etc.
+
+Installation
+============
+
+Use::
+
+    pip install mdx_smartypants
+    
+Or::
+
+    easy_install mdx_smartypants
+    
+(You may need to begin these with "sudo ".)
+
+Usage
+=====
+
+To use::
+
+    import markdown
+    import mdx_smartypants
+    
+    md = markdown.Markdown(extensions=['smartypants'])
+    
+    md_text = """
+        This is some Markdown. It's pretty nice, and simple. But--it could
+        really use some typographic "prettification." That... That would
+        be sweet. Definitely 7---8 on a '10-point scale'.
+        
+        Huzzah!
+    """
+
+    print md.convert(md_text)
+
+This produces nice HTML output, including typographically "pretty" quotes and other
+punctuation. It also renders HTML entites in their named rather than numeric form
+for easier-on-the-eyes, more-rapidly-comprehended HTML::
+
+    <p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+    really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+    be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+    <p>Huzzah!</p>
+    
+Which renders as:
+
+.. raw:: html
+
+<p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+<p>Huzzah!</p>

mdx_smartypants.egg-info/PKG-INFO

 Metadata-Version: 1.0
 Name: mdx-smartypants
-Version: 1.0
+Version: 1.0.1
 Summary: Python-Markdown extension that uses smartypants to provide typographically nicer ("curly") quotes, proper ("em" and "en") dashes, etc.
 Home-page: http://bitbucket.org/jeunice/mdx_smartypants
 Author: Jonathan Eunice
 Author-email: jonathan.eunice@gmail.com
 License: UNKNOWN
-Description: UNKNOWN
+Description: 
+        
+        A Python-Markdown extension that uses smartypants to provide typographically nicer ("curly") quotes, proper ("em" and "en") dashes, etc.
+        
+        Installation
+        ============
+        
+        Use::
+        
+            pip install mdx_smartypants
+            
+        Or::
+        
+            easy_install mdx_smartypants
+            
+        (You may need to begin these with "sudo ".)
+        
+        Usage
+        =====
+        
+        To use::
+        
+            import markdown
+            import mdx_smartypants
+            
+            md = markdown.Markdown(extensions=['smartypants'])
+            
+            md_text = """
+                This is some Markdown. It's pretty nice, and simple. But--it could
+                really use some typographic "prettification." That... That would
+                be sweet. Definitely 7---8 on a '10-point scale'.
+                
+                Huzzah!
+            """
+        
+            print md.convert(md_text)
+        
+        This produces nice HTML output, including typographically "pretty" quotes and other
+        punctuation. It also renders HTML entites in their named rather than numeric form
+        for easier-on-the-eyes, more-rapidly-comprehended HTML::
+        
+            <p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+            really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+            be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+            <p>Huzzah!</p>
+            
+        Which renders as:
+        
+        .. raw:: html
+        
+        <p>This is some Markdown. It&rsquo;s pretty nice, and simple. But&mdash;it could
+        really use some typographic &ldquo;prettification.&rdquo; That&hellip; That would
+        be sweet. Definitely 7&ndash;8 on a &lsquo;10-point scale&rsquo;.</p>
+        <p>Huzzah!</p>
 Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Operating System :: OS Independent

mdx_smartypants.egg-info/SOURCES.txt

+README.txt
 mdx_smartypants.py
 setup.cfg
 setup.py
 
 from setuptools import setup
 
+readme = open('README.rst', 'r')
+README_TEXT = readme.read()
+readme.close()
+
+
 setup(
     name='mdx_smartypants',
-    version='1.0',
+    version='1.0.1',
     author='Jonathan Eunice',
     author_email='jonathan.eunice@gmail.com',
     description='Python-Markdown extension that uses smartypants to provide typographically nicer ("curly") quotes, proper ("em" and "en") dashes, etc.',
+    long_description=README_TEXT,
     url='http://bitbucket.org/jeunice/mdx_smartypants',
     py_modules=['mdx_smartypants'],
     install_requires=['Markdown>=2.0','smartypants>=1.5'],
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.