From mboxrd@z Thu Jan 1 00:00:00 1970 From: stardiviner Subject: Re: FW: [RFC] Link-type for attachments, more attach options Date: Sun, 15 Dec 2019 22:26:21 +0800 Message-ID: <871rt5k6lu.fsf@gmail.com> References: <87v9qmglut.fsf@gmail.com> <87y2vhrhun.fsf@gmail.com> <87y2vgl50e.fsf@gmail.com> <8736dmj5sv.fsf@gmail.com> Reply-To: numbchild@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52378) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igUr2-00075U-Vg for emacs-orgmode@gnu.org; Sun, 15 Dec 2019 09:26:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1igUr1-0001VF-QV for emacs-orgmode@gnu.org; Sun, 15 Dec 2019 09:26:40 -0500 Received: from [183.246.146.61] (port=2499 helo=dark.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1igUr1-0001Kf-AY for emacs-orgmode@gnu.org; Sun, 15 Dec 2019 09:26:39 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Gustav =?utf-8?Q?Wikstr=C3=B6m?= Cc: "emacs-orgmode@gnu.org" Gustav Wikstr=C3=B6m writes: > Hmm, inline images work for attachment links on my side on Org mode maste= r. > > I considered keeping the file link option but ruled against it in the end= . I could remove some complexity from the code in the end due to it. > > Don't know why attachments aren=E2=80=99t expanded as images for you... > I figured out why on my side inline image does not work. When have link with description, the inline image does not work. When has no link description, inline image works. Here is an example: #+begin_src org # link work for inline image [[attachment:screenshot.png]] # inline image does not work [[attachment:screenshot.png][description]] #+end_src I tested by EMC, found this is caused by some option. I will figure it out.= Thanks! --=20 [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =20=20=20=20=20=20