From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id kLi4IRTkK2QRGgEASxT56A (envelope-from ) for ; Tue, 04 Apr 2023 10:47:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UFbeIBTkK2RQkwAAG6o9tA (envelope-from ) for ; Tue, 04 Apr 2023 10:47:16 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3CA9F296F2 for ; Tue, 4 Apr 2023 10:47:16 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjcJD-00005V-1e; Tue, 04 Apr 2023 04:46:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjcJ7-00005D-Cq for emacs-orgmode@gnu.org; Tue, 04 Apr 2023 04:46:25 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjcJ4-0007pH-EQ for emacs-orgmode@gnu.org; Tue, 04 Apr 2023 04:46:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 85D2D240555 for ; Tue, 4 Apr 2023 10:46:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1680597979; bh=vgZ5so+ZNLVPz03Zh4/nXXILsgd5e1jhWbdgLBeswgc=; h=From:To:Cc:Subject:Date:From; b=dUbBkc2ZV1J2wbfOZ38Em3VnxTeXo0PKOQTZ1DMqv7vzVO+HBwv8Q4K7IuJC33JhF 9i4a9aBMX0YV6eC2UsTg0QOPzq0Gjc4Q7Uhk/fpnML26/Uxu5qFo3LXB7AVNRmfKFq x6j1yAZOWaXgL5uMQVYrwm1bLin9b7hn2mvHEykZSjahcxJ2NkmS5bOWE8Anc3t/QC cFHo0oNUyrsyUmnHwOG0eogxQlXhSGGKpmLsjIf15ymDuEPq4gUAQ5Meiq3YoBTZ7A 5s+/A9fW0NkXS4NyTfE5/0873tJ9WvrXmoexHHKiYkPadU74+ie9eryC9jKxdajWH0 DSEGVuY6yyneA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PrLvv0syWz9rxP; Tue, 4 Apr 2023 10:46:19 +0200 (CEST) From: Ihor Radchenko To: Vladimir Alexiev Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ox-md image captions In-Reply-To: <871qmbym7y.fsf@localhost> References: <871qmbym7y.fsf@localhost> Date: Tue, 04 Apr 2023 08:48:41 +0000 Message-ID: <87a5zoav86.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680598036; a=rsa-sha256; cv=none; b=t6u/VwPohs17CH0PWKlz7QM2tnT1rTaRTbN4wl4qt9h4iOEwXh5UrOJYKeDOPjFm5W/XWI 0bhoPcbqAsUmLBAsJyt7Fe+mH3H/GxLlBd7YKZWoEuCVxv5dpg5Y/w7VvUMPd2p86sTiHX IzG2XfDj3iu8ONkhAPFKo8Soq2FVjksZQyBa5vIwxDiQeQOuVU54/jkUN9qzRVVHxlP/ND zLGjNJDQq7uFtWKmzJmGO4Dh25t6P270yO6iKsrevHadwuMBWDzzI8YEVkzDowPLmRm2S5 2H7iWHUR2BRQwdLFTypsGJxLWqc+vYc9k+e7rg1joTFlbCRmzETMUfFJfN2mQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dUbBkc2Z; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1680598036; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=k2cv/8KT1JIo9KSeH+Phr9rHq6MjbjgzS1W0LT2hVTc=; b=kDzUL/b+BfkpHCrlIKZwZEZyn7/Cx3TbzJ4ZuqgagdunCSxe3fG4Yfb9E0oJEEL5vAPe/T u+n18uVSJYkxy5E77Wvlu0cBkBSfiMKyoRnbXRuL+uANNRMBYdcRWRQv7P7B7ySO27XKcK 7Kbul4zI7eXNqWyHDyz6Woh+iKdj6nAJCTblnC8AXFJCPGSFzYzMYBpKWXmjkSpM2EVjto AxFliOCtGZQr2i3aaJwjruWuWLnuOOBhAAPmZXDeV6xn1sGEo5P02+URzpYX1Nh8XQiyNr oog9kMT502/mbxXeenJwHutbL/2mMI/CURt1T2NMQnyEDP0wXn7usw5tvdCdpA== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=dUbBkc2Z; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -6.21 X-Spam-Score: -6.21 X-Migadu-Queue-Id: 3CA9F296F2 X-TUID: H6LvfW7JURzO 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). > > 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 . Support Org development at , or support my work at