Definition list as image caption
fiddlosopher at gmail.com
Mon Jun 25 17:18:25 EDT 2012
Pandoc has for some time supported the following convention.
A paragraph containing just an image (and nothing else) gets
treated as a figure, with the alt text as the caption.
(If you don't want this, you can defeat it by including
a nonbreaking space or empty comment in the paragraph alongside
One advantage of this extension is that it degrades well when
you process it with standard markdown processors.
Pandoc also supports a syntax for captioning tables, described here:
+++ Lou Quillio [Jun 22 12 17:38 ]:
> On Fri, Jun 22, 2012 at 4:00 AM, Jakob <jakov at gmx.at> wrote:
> > recently though about image captions, then i realized that this could be
> > achiebed by Markdown Extra's definition list feature:
> > ![alttext](http://exampl.com/img.jpg)
> > : here goes the *caption*
> > What do you think?
> For reference, here's Russ Weakly in 2004:
> Lou Quillio
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
More information about the Markdown-Discuss