Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically hyperlink enumerated variables in metadata variables #134

Open
vaughanvandyk opened this issue Mar 8, 2024 · 1 comment
Open
Labels
feature request New feature or request

Comments

@vaughanvandyk
Copy link

vaughanvandyk commented Mar 8, 2024

Is your feature request related to a problem? Please describe.
It would be great if Media DB Plugin imported names (e.g. actors, directors, authors, production companies etc) as internal hyperlinks in the note properties. It wouldn't create those pages of course but when one clicks on the link, Obsidian would then create a page for that entity on demand as per usual.

Describe the solution you'd like
Instead of importing the following Markdown for the "writer" property as currently occurs in v0.6.0:

writer: 
  - "Denis Villeneuve"
  - "Jon Spaihts"
  - "Frank Herbert"

The plugin would instead import like this:

writer:
  - "[[Denis Villeneuve]]"
  - "[[Jon Spaihts]]"
  - "[[Frank Herbert]]"

Additional context
I have tried doing this in templates but not been able to successfully wrap ENUM or LIST with square brackets.

@kelszo
Copy link
Contributor

kelszo commented Jun 5, 2024

See my answer in #137 for a possible fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants