Before I post on GitHub about a plugin that doesn’t recognize Obsidian recommended alias formatting in frontmatter, I just want to confirm the latest recommended formats (my search brought up different recommendations). See below for details and examples on each item.
- Square brackets or no?
- Is the multiple line beginning with a dash still good?
- Wrap in quotation marks?
- Singular or Plural?
One last thing. Is it bad form to always use the plural aliases even if there is just the one alias? I’d rather not have to modify my queries later to include the plural everytime I add a new alias to an existing one.
Details
Item 1
The Obsidian Help File says to use this format:
aliases: [AI, Artificial Intelligence]
In the example on the same page, though, there are no square brackets:
---
aliases: alias, aliases
---
The plugin in question only recognizes aliases if there are no brackets, so I don’t know if the bracket thing has been superseded, or if the plugin needs to be updated.
Item 2
Example in the help file:
---
key: value
key2: value2
multiple: [one, two, three]
multiple:
- one
- two
- three
---
Again, I ask because the plugin doesn’t recognize aliases in this format.
Item 3
I read somewhere that the individual aliases should be wrapped in quotation marks when they include odd characters.
aliases: ["A & W", "This_or That"]
but I’ve seen a posting that implied we always need to wrap in quotation marks
aliases: ["aOne", "aTwo"]