toshism / org-super-links

Package to create links with auto backlinks
GNU General Public License v3.0
285 stars 20 forks source link

Customizable link descriptions using properties #83

Closed Ypot closed 1 year ago

Ypot commented 1 year ago

Could link description be taken from properties?

* Headline
  :PROPERTIES:
  :title:       Book title
  :author:   John Smith
  :data:       1984
  :END:
** Chapter 1
Linked chapter

* Notes to the book
Link description: John Smith (1984). Book title. /Chapter 1/.
toshism commented 1 year ago

yeah it could be, you can set a custom function for org-super-links-default-description-formatter. basically that function will get a link as an argument, you can follow it and grab whatever info you need to return.

toshism commented 1 year ago

i'm going to close this but let me know if you have any questions about the formatter.