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: Wed, 5 Apr 2023 19:06:19 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

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

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