zk-org / zk

A plain text note-taking assistant

Home Page:https://zk-org.github.io/zk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MD front matter - `aliases: [a?]` rises the warning

dzintars opened this issue · comments

Not sure is this a bug or what.

If the markdown front matter aliases: [] contains or ends with ? warning is thrown:

$ zk index                                                                                                                                                              
zk: warning: /202309251934.md: yaml: line 1: did not find expected ',' or ']'

For example:

---
aliases: [some text?]
---

and

---
aliases: [some? text]
---

will lead to the mentioned warning.

If it's aliases: [?a] then there is no warning.

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.

This issue was closed because it has been stalled for 5 days with no activity.