oleeskild / obsidian-digital-garden

MIT License
1.34k stars 124 forks source link

Command "Add publish flag" changes other frontmatter attributes #264

Open davidkopp opened 1 year ago

davidkopp commented 1 year ago

Currently, the command "Add publish flag" changes other frontmatter attributes. That can be problematic. Example:

---
aliases: ["One alias, with a comma included"]
tags: ["tag1", "tag2"]
---

becomes:

---
aliases: One alias, with a comma included
tags: tag1,tag2
dg-publish: true
---

Now, the alias is incorrect because the quotation marks are missing. In general I don't like it, that this command changes other frontmatter attributes.

SteveJohnSteele commented 7 months ago

2024 and this is still an issue tags: