emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Long links


From: Nicolas Goaziou
Subject: Re: Long links
Date: Mon, 30 Dec 2019 03:08:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hello,

Steven Penny <address@hidden> 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 via email to

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