Add support for headline CUSTOM_ID property & linking
this introduces the PropertyDrawer node to make it easier to access the properties associated to a headline - normal drawers don't parse their content into kv pairs
This commit is contained in:
parent
ec895cbe83
commit
aa42998dbc
8 changed files with 79 additions and 14 deletions
5
org/testdata/headlines.org
vendored
5
org/testdata/headlines.org
vendored
|
@ -7,10 +7,11 @@
|
|||
* TODO [#B] Headline with todo status & priority
|
||||
* DONE Headline with TODO status
|
||||
:PROPERTIES:
|
||||
:Note: property drawers are not exported as html like other drawers
|
||||
:custom_id: this-will-be-the-id-of-the-headline
|
||||
:note: property drawers are not exported as html like other drawers
|
||||
:END:
|
||||
|
||||
the *content*
|
||||
we can link to headlines that define a custom_id: [[#this-will-be-the-id-of-the-headline]]
|
||||
* [#A] Headline with tags & priority :foo:bar:
|
||||
Still outside the drawer
|
||||
:DRAWERNAME:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue