mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Document denote-org-store-link-to-heading "local" value in the manual
This was introduced by Michael Korat in commit 9a354e4 as part of pull
request 723: <https://github.com/protesilaos/denote/pull/723>.
This commit is contained in:
parent
b90b26e938
commit
27cdd67b68
|
|
@ -3414,9 +3414,16 @@ and the text of the current heading, like this:
|
||||||
|
|
||||||
: [[denote:20240118T060608::*Heading text][Some test::Heading text]].
|
: [[denote:20240118T060608::*Heading text][Some test::Heading text]].
|
||||||
|
|
||||||
|
If the value is ~local~, the link consists of the text of the current
|
||||||
|
heading, like this:
|
||||||
|
|
||||||
|
: [[*Heading text][Heading text]].
|
||||||
|
|
||||||
|
[ The ~local~ option is part of {{{development-version}}}. ]
|
||||||
|
|
||||||
However, if there already exists a =CUSTOM_ID= property for the
|
However, if there already exists a =CUSTOM_ID= property for the
|
||||||
current heading, this is always given priority and is used instead of
|
current heading, this is always given priority and is used instead of
|
||||||
the context.
|
the context or local heading.
|
||||||
|
|
||||||
If the value is ~id~ or, for backward-compatibility, any other non-nil
|
If the value is ~id~ or, for backward-compatibility, any other non-nil
|
||||||
value, then Denote will use the standard Org mechanism of the
|
value, then Denote will use the standard Org mechanism of the
|
||||||
|
|
|
||||||
|
|
@ -485,7 +485,8 @@ and the text of the current heading, like this:
|
||||||
|
|
||||||
[[denote:20240118T060608::*Heading text][Some test::Heading text]].
|
[[denote:20240118T060608::*Heading text][Some test::Heading text]].
|
||||||
|
|
||||||
If the value is `local', the link consists of the text of the current heading, like this:
|
If the value is `local', the link consists of the text of the current
|
||||||
|
heading, like this:
|
||||||
|
|
||||||
[[*Heading text][Heading text]].
|
[[*Heading text][Heading text]].
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue