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

YAML in Templater files can't be parsed #89

Open
johngarg opened this issue Jan 30, 2024 · 1 comment
Open

YAML in Templater files can't be parsed #89

johngarg opened this issue Jan 30, 2024 · 1 comment

Comments

@johngarg
Copy link

Hi,

I use the popular Templater plugin to insert a link to today's daily note every time I make a new note. The template file looks like:

---
Links:
  - "[[<% tp.date.now("YYYY-MM-DD") %>]]"
---

This throws an error "Unable to parse YAML." from yaml-parse-string when calling a variety of functions.

Perhaps a simple fix is to be able to specify files to be ignored by obsidian.el?

Thanks!

@licht1stein
Copy link
Owner

Support for obsidian extensions is not a goal, but if you make it optional in some way to ignore it, that would be good

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

No branches or pull requests

2 participants