From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Long links Date: Mon, 30 Dec 2019 03:08:18 +0100 Message-ID: <87mubazht9.fsf@nicolasgoaziou.fr> References: <5e0911cd.1c69fb81.3d5f3.0029@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35366) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilkTm-0005FN-VX for emacs-orgmode@gnu.org; Sun, 29 Dec 2019 21:08:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilkTl-0008PS-Um for emacs-orgmode@gnu.org; Sun, 29 Dec 2019 21:08:22 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:33853) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ilkTl-0008OZ-P3 for emacs-orgmode@gnu.org; Sun, 29 Dec 2019 21:08:21 -0500 In-Reply-To: <5e0911cd.1c69fb81.3d5f3.0029@mx.google.com> (Steven Penny's message of "Sun, 29 Dec 2019 12:51:25 -0800 (PST)") 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: Steven Penny Cc: emacs-orgmode@gnu.org Hello, Steven Penny writes: > Sometimes I will have to deal with a long link, like this: > > https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf > > I prefer to wrap long links if possible. This is allowed with reStructuredText: > > lastIndexOf_ > > .. _lastIndexOf: https://developer.mozilla.org/docs/Web/JavaScript/ > Reference/Global_Objects/String/lastIndexOf > > and also with AsciiDoc via link syntax: > > link:++https://developer.mozilla.org/docs/Web/JavaScript/Reference/ > Global_Objects/String/lastIndexOf++[lastIndexOf] > > or variable syntax: > > :js: https://developer.mozilla.org/docs/Web/JavaScript/Reference > > {js}/Global_Objects/String/lastIndexOf > > Does Org Mode have some way to deal with this? You can use angular links, e.g., You can also use link abbreviations. Please refer to the manual for that one. Regards, -- Nicolas Goaziou