-
Notifications
You must be signed in to change notification settings - Fork 128
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
Special characters throw off the YAML frontmatter parser #24
Comments
@megalithic From the logs you shared, I think it's the content of the YAML frontmatter failing with these notes. Would you mind sharing the content of one of these notes up to the first heading? Redacted if you prefer. Btw such errors might be visible only after modifying these notes. You can force reindexing the notes with |
I can reproduce this warning:
with the following frontmatter: ---
title: A title with: special characters
--- But it's not valid YAML, if it contains a ---
title: "A title with: special characters"
--- |
ahh, i will handle that post-haste in my own templates and configs. thank you! |
Okay let me know if you have any other warnings after fixing your templates, and then I'll close this issue. I'm not sure there's anything to do in YAML is annoyingly ambiguous, I wish another format was more widespread for Markdown frontmatters. I'm thinking we could fallback on MultiMarkdown parsing, but it doesn't support lists for tags. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 5 days. |
It looks like using special characters in the YAML frontmatter or note titles might be breaking the indexing.
Originally posted by @megalithic in #22 (comment)
The text was updated successfully, but these errors were encountered: