Extension for Python Markdown to add captions to images
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Generates a figurecaption each Image which stands alone in a paragraph, similar to pandoc’s handling of images/figures

Licensed under the GPL 2 (see LICENSE.md)

Copyright 2015 - Jan Dittrich by building upon the markdown-figures Plugin by Copyright 2013 - Helder Correia (GPL2)

Example – this source:

Bla bla bla

![this is the caption](http://lorempixel.com/400/200/)

Next paragraph starts here

would generate this:

<p> Bla bla bla</p>

    <img src="http://lorempixel.com/400/200/">
    <figcaption>this is the caption</figcaption>

<p>Next paragraph starts here</p>

It can also handle images that use references and/or titles :

Some really good writing.

![Description of something cool.][ref1]

More great writing.

[ref1]: http://lorempixel.com/400/200/ "A title for the cool image."

would generate this:

<p>Some really good writing.</p>

<figure><img alt="Description of something cool." src="http://lorempixel.com/400/200/" title="A title for the cool image."><figcaption>Description of something cool.</figcaption>

<p>More great writing.</p>