Re: Definition list as image caption

2012-06-26 Thread Jakob
Am 25.06.2012 um 23:18 schrieb John MacFarlane fiddlosop...@gmail.com: 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

Re: Definition list as image caption

2012-06-25 Thread Fletcher Penney
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.

Re: Definition list as image caption

2012-06-23 Thread Jakob
Beside, before we add captions to images, perhaps we could add captions to tables. I know MultiMarkdown already has that, but not PHP Markdown Extra. Once we have that we could find a similar way to add caption to various other things which would wrap the said thing in a figure element.

Re: Definition list as image caption

2012-06-23 Thread Klaus Mueller
Hi all, at all, I think there is an wide need for captions and most solutions are mostly handmade spans in paragraphs. Am 22.06.2012 22:13, schrieb Jakob: That's why I changed my mind, that it would be better to use a **new** syntax with the exclamation mark instead of the colon, then there

Re: Definition list as image caption

2012-06-23 Thread Alan Hogan
Generated content (:after) would be awkward for this purpose. It is not selectable in many browsers, and experiences more bugs and rendering issues than normal elements. Alan On Saturday, June 23, 2012 at 5:39 AM, Klaus Mueller wrote: Hi all, at all, I think there is an wide need

Re: Definition list as image caption

2012-06-23 Thread Klaus Mueller
Hi all, This could be usefull in some cases, but you point out yourself, that there is a solution with css. In my opinion the title attribute is mostly useless and stupid, as it leads to [Mystery meat navigation](http://en.wikipedia.org/wiki/Mystery_meat_navigation), which sucks! I

Re: Definition list as image caption

2012-06-23 Thread Jakob
Am 24.06.2012 um 01:36 schrieb Michel Fortin michel.for...@michelf.com: Le 2012-06-23 à 10:18, Jakob a écrit : Not at all. If we want to allow anything inside a figure element (as HTML5 permits), then all we have to do is force the figure content to be indented. You could even nest

Re: Definition list as image caption

2012-06-22 Thread Waylan Limberg
On Fri, Jun 22, 2012 at 7:00 AM, Jakob ja...@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? Hmm, what HTML are

Re: Definition list as image caption

2012-06-22 Thread Jakob
Von: Waylan Limberg way...@gmail.com Hmm, what HTML are you suggesting that output? Standard Definition List HTML? How would that translate to a caption? In the meantime I rethought my proposal, but for the sake of being backwards compatible with HTML4: I think it should take a figure class

Re: Definition list as image caption

2012-06-22 Thread Thomas Humiston
It's a good idea, Jakob. Despite the name of this HTML element (which HTML5 moves to rename as description list), it exists for exactly the sort of purpose you suggest -- or, as I like to say, DT is some object, DD is something *about* that object. No matter which implementation of Markdown

Re: Definition list as image caption

2012-06-22 Thread Waylan Limberg
On Fri, Jun 22, 2012 at 12:04 PM, Jakob ja...@gmx.at wrote: Von: Waylan Limberg way...@gmail.com Hmm, what HTML are you suggesting that output? Standard Definition List HTML? How would that translate to a caption? In the meantime I rethought my proposal, but for the sake of being backwards

Re: Definition list as image caption

2012-06-22 Thread Waylan Limberg
On Fri, Jun 22, 2012 at 12:05 PM, Thomas Humiston t...@jumpingrock.net wrote: It's a good idea, Jakob. Despite the name of this HTML element (which HTML5 moves to rename as description list), it exists for exactly the sort of purpose you suggest -- or, as I like to say, DT is some object, DD

Re: Definition list as image caption

2012-06-22 Thread Lou Quillio
On Fri, Jun 22, 2012 at 4:00 AM, Jakob ja...@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,