On 04/04/2023 15:48, Ihor Radchenko wrote:
Ihor Radchenko writes:

I am inclined to change ![img](url "caption") to
![caption](url) for links without description (links with description do
not obey caption in org export).

Upon further investigation, I have found that our base MD reference we
follow in ox-md is defining image syntax as the following:

![Alt text](/path/to/img.jpg)

![Alt text](/path/to/img.jpg "Optional title")

https://daringfireball.net/projects/markdown/syntax#img

Therefore, Org mode is doing everything right within the scope of MD
specification we follow. Pandoc does not.

My reading of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#the_title_attribute is that caption should not be exported as title. Alt text is more "visible" than title, but perhaps caption should be exported as text adjacent to image.



Reply via email to