Metadata-Version: 1.1
Name: MarkdownSubscript
Version: 1.0c1
Summary: Python-Markdown extension to allow for subscript text.
Home-page: https://github.com/jambonrose/markdown_subscript_extension
Author: Andrew Pinkham
Author-email: hello at andrewsforge dot com
License: Simplified BSD License
Description: An extension to the `Python Markdown`_ project which adds the ability to subscript text. To do so, the character :code:`~` becomes a Markdown tag for text meant to be subscripted, and is replaced with the HTML :code:`sub` tag.
        
        For example, given the text: ::
        
            The molecular composition of water is H~2~O.
        
        … using Markdown with this extension will output: ::
        
            <p>The molecular composition of water is H<sub>2</sub>O.</p>
        
        This project is provided under the `Simplified (2 Clause) BSD license`_.
        
        Installation
        ------------
        
        ::
        
            pip install MarkdownSubscript
        
        Usage
        -----
        
        Python
        ^^^^^^
        
        >>> from markdown import markdown
        >>> text = "The molecular composition of water is H~2~O."
        >>> markdown(text, ['subscript'])
        '<p>The molecular composition of water is H<sub>2</sub>O.</p>'
        
        Command Line
        ^^^^^^^^^^^^
        
        ::
        
            $ echo 'The molecular composition of water is H~2~O.' > text.md
            $ python -m markdown -o html5 -x 'subscript' -f text.html text.md
        
        .. _`Python Markdown`: https://pypi.python.org/pypi/Markdown
        .. _`Simplified (2 Clause) BSD license`: http://choosealicense.com/licenses/bsd-2-clause/
        
Keywords: text filter markdown html subscript
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Filters
Classifier: Topic :: Text Processing :: Markup :: HTML
