Metadata-Version: 2.1
Name: markdown-captions
Version: 1
Summary: Turn markdown images into captioned images using <figure>
Home-page: https://github.com/evidlo/markdown-captions
Author: evidlo
Author-email: evan@evanw.org
License: GPL3
Description: # markdown-captions
        
        Converts images with alt text to `<figure>` with `<figcaption>`.
        
        Works with `attr_list` extension.
        
        ## Usage
        
        ```
            pip install markdown-captions
        ```
        
        ``` python
        md = markdown.Markdown(extensions=['markdown_captions'])
        ```
        
        ## Examples
        
        simple example
        ``` md
        ![caption](img.jpg)
        ![caption2](img2.jpg)
        ```
        ``` html
        <p>
          <figure><img src="img.jpg" /><figcaption>caption</figcaption></figure>
          <figure><img src="img2.jpg" /><figcaption>caption2</figcaption></figure>
        </p>
        ```
        
        image class and title
        ``` md
        ![caption](img.jpg "title"){: .class1 }
        ```
        ``` html
        <figure class="class1"><img src="img.jpg" title="title" /><figcaption>caption</figcaption></figure>
        ```
        
        inline captioned images
        ``` md
        <style>
            .inline {
                display: inline-block;
            }
        </style>
        ![caption](img.jpg){: .inline }
        ![caption2](img2.jpg){: .inline }
        ```
        ``` html
        <p>
          <figure class="inline"><img src="img.jpg" /><figcaption>caption</figcaption></figure>
          <figure class="inline"><img src="img2.jpg" /><figcaption>caption2</figcaption></figure>
        </p>
        ```
        
        images with no alt text are not captioned
        ``` md
        ![](img.jpg)
        ```
        ``` html
        <img src="img.jpg" />
        ```
        
Keywords: markdown figures captions subtitles
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Text Processing :: Markup :: HTML
Description-Content-Type: text/markdown
