emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Steven Penny <svnpenn@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Long links
Date: Mon, 30 Dec 2019 03:08:18 +0100	[thread overview]
Message-ID: <87mubazht9.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <5e0911cd.1c69fb81.3d5f3.0029@mx.google.com> (Steven Penny's message of "Sun, 29 Dec 2019 12:51:25 -0800 (PST)")

Hello,

Steven Penny <svnpenn@gmail.com> 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.,

    <https://developer.mozilla.org/docs/Web/JavaScript/Reference/
    Global_Objects/String/lastIndexOf++[lastIndexOf]>

You can also use link abbreviations. Please refer to the manual for that
one.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2019-12-30  2:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-29 20:51 Long links Steven Penny
2019-12-30  2:08 ` Nicolas Goaziou [this message]
2019-12-30  4:13   ` Steven Penny
2019-12-30  8:55     ` Nicolas Goaziou
2020-01-04 15:36   ` Steven Penny
2020-01-04 17:44     ` Nicolas Goaziou
2020-01-04 21:58       ` Steven Penny
2020-01-04 22:35         ` Trey Ethan Harris
2020-01-04 22:56           ` Steven Penny
2020-01-04 23:08             ` Trey Ethan Harris
2020-01-04 23:26               ` Steven Penny
2020-01-05  0:18                 ` Trey Ethan Harris
2020-01-05  0:23                   ` Steven Penny
2020-01-05  0:45                     ` Trey Ethan Harris
2020-01-05  0:59                       ` Steven Penny
2020-01-05  2:13                         ` Trey Ethan Harris
2020-01-05  2:57                           ` Steven Penny
2020-01-05  6:25                             ` Adam Porter
2020-01-05  8:03                             ` Fraga, Eric
2020-01-05 14:02                               ` Steven Penny
2020-01-05 16:08                                 ` Eduardo Ochs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mubazht9.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=svnpenn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).