diff --git a/README.org b/README.org index 0afd2bb..7eef327 100644 --- a/README.org +++ b/README.org @@ -3414,9 +3414,16 @@ and the text of the current heading, like this: : [[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 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 value, then Denote will use the standard Org mechanism of the diff --git a/denote.el b/denote.el index 44446b6..fd409e1 100644 --- a/denote.el +++ b/denote.el @@ -485,7 +485,8 @@ and the text of the current heading, like this: [[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]].