emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] ox-md image captions


From: Max Nikulin
Subject: Re: [BUG] ox-md image captions
Date: Fri, 7 Apr 2023 21:56:01 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 05/04/2023 02:41, Ihor Radchenko wrote:
IMHO, it would make more sense if Pandoc had a toggle to treat captions
differently. As an alternative.

printf '![Alt](file.jpg "title")\n' |
    pandoc -f org -t markdown_strict

disables generation of <figcaption>.

I think, it is unlikely that users with mobile devices (touchscreen only) have chance to notice title attribute. The only site where I check image titles is https://xkcd.com/1179/ . Alt text describes image for those who do not see image while caption should be apparent for those who see it.

I believe that it is Org bug that it places caption as title, but there is no better alternatives besides HTML. Duplicating caption as alt text, as pandoc does, is a bug as well.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]