obsidian-digital-garden
obsidian-digital-garden copied to clipboard
Command "Add publish flag" changes other frontmatter attributes
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.
2024 and this is still an issue tags:
- abc
- xyz becomes tags: abc,xyz
Also data with "" in it get the "" stripped out, making a total mess.
Please leave existing data alone