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: Ihor Radchenko
Subject: Re: [BUG] ox-md image captions
Date: Tue, 04 Apr 2023 08:48:41 +0000

Ihor Radchenko <yantar92@posteo.net> 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).
>
> Any objections?

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.

In fact, looking closer at https://pandoc.org/MANUAL.html#images, I find
it very strange that alt text is used as image caption, not actual
title. In HTML, alt text is supposed to be displayed *instead* of the
image if the image cannot be viewed -- a feature often used as the base
of accessibility for blind users. See
https://www.w3schools.com/TAGS/att_alt.asp

Therefore, I see no bug on Org side.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

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