All Projects → jdittrich → figureAltCaption

jdittrich / figureAltCaption

Licence: GPL-2.0 license
Extension for Python Markdown to add captions to images

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to figureAltCaption

mdx truly sane lists
Extension for Python-Markdown that makes lists truly sane. Custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.
Stars: ✭ 47 (+213.33%)
Mutual labels:  python-markdown, markdown-extension
Markdown
A Python implementation of John Gruber’s Markdown with Extension support.
Stars: ✭ 2,725 (+18066.67%)
Mutual labels:  python-markdown
python-markdown-math
Math extension for Python-Markdown
Stars: ✭ 98 (+553.33%)
Mutual labels:  python-markdown

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>

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

<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>
</figure>

<p>More great writing.</p>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].