dendron icon indicating copy to clipboard operation
dendron copied to clipboard

Generate backlinks for links in frontmatter

Open aleksey-rowan opened this issue 4 years ago • 4 comments

Please Select if your Request is Either something new or an Enhancement

  • [x] Enhancement of an existing Feature.
  • [ ] Request of a new feature.

Please select the area your request applys to. (Multiple selections are Possible)

  • [ ] Onboard. Initial vault setup and import/export pods
  • [ ] Create. Note creation, lookup, snippets and templates
  • [ ] Retrieve. Backlinks, references, graph view
  • [x] Structure. Refactoring, multi-vault and schemas
  • [ ] Publish. Sharing your repo with the world
  • [x] Misc (Choose this if your not sure)

Is your feature request related to a problem? Please describe

It's possible to add custom properties to note's frontmatter and I would like to use links in frontmatter as well. Right now, if you place a link in frontmatter, it doesn't generate a backlink like like a tag in the tags property does.

Describe the solution you'd like

A link placed in frontmatter generates a backlink on the target note.

Describe alternatives you've considered

Placing link in the body of the note obviously works, but then the link will be rendered in preview.

aleksey-rowan avatar Oct 15 '21 18:10 aleksey-rowan

makes sense. adding as a crop candidate!

kevinslin avatar Oct 19 '21 17:10 kevinslin

I realized there might be a problem with how links are presented in frontmatter, since

links: [[link-1]]

is equivalent to

links:
  - - link-1

Some other format is needed, I guess.

aleksey-rowan avatar Oct 20 '21 01:10 aleksey-rowan

+1 on this, especially on meeting notes this would be really helpful

alex-ess avatar Apr 04 '22 18:04 alex-ess

This issue is featured in this week's round of CROP voting on Dendron's Discord server.

aleksey-rowan avatar Jul 14 '22 03:07 aleksey-rowan