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

Feature Request: Obsidian links on metadata. #3

Closed
EhuddR opened this issue May 4, 2021 · 3 comments
Closed

Feature Request: Obsidian links on metadata. #3

EhuddR opened this issue May 4, 2021 · 3 comments

Comments

@EhuddR
Copy link

@EhuddR EhuddR commented May 4, 2021

Hi! I was wonder if you can add the posibility of make clickables obsidian Links on metadata. I think this is not possible but it would be a pretty cool feature.

---
tags: #literature
author: [[Noam Chomsky]]
---

@arnau
Copy link
Owner

@arnau arnau commented May 5, 2021

I haven't seen anything that suggests you can in the API but I agree it would be a great addition.

@arnau
Copy link
Owner

@arnau arnau commented May 9, 2021

Hi @EhuddR, the new 0.7.0 adds a flag in settings for autolinks. See https://github.com/arnau/obsidian-metatable/tree/0.7.0#autolinks

You'll notice that your example:

---
tags: #literature
author: [[Noam Chomsky]]
---

won't work because the [] are reserved characters in YAML. Instead you can do:

---
tags: literature
author: "[[Noam Chomsky]]"
---

Or

---
tags: literature
author: %Noam Chomsky%
---

@arnau arnau closed this May 9, 2021
@EhuddR
Copy link
Author

@EhuddR EhuddR commented May 10, 2021

Thanks! This is amazing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants