Definition list as image caption

Fletcher Penney fletcher at fletcherpenney.net
Mon Jun 25 17:34:59 EDT 2012


MultiMarkdown does the same sort of thing in version 3.


F-


On Jun 25, 2012, at 5:18 PM, John MacFarlane wrote:


> 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

> the image.)

>

> 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:

> http://johnmacfarlane.net/pandoc/README.html#tables

>

> John

>

> +++ 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:

>>

>> http://www.maxdesign.com.au/articles/definition/

>>

>> LQ

>>

>>

>> --

>> Lou Quillio

>> http://quillio.com/

>> _______________________________________________

>> Markdown-Discuss mailing list

>> Markdown-Discuss at six.pairlist.net

>> http://six.pairlist.net/mailman/listinfo/markdown-discuss

>>

> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss



--
Fletcher T. Penney
fletcher at fletcherpenney.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4899 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20120625/65618d0a/attachment.bin>


More information about the Markdown-Discuss mailing list