Can't create alias that is just numbers

Steps to reproduce

If I make an alias in the YAML that is just a number (say, like a Zettel ID number), Obsidian doesn’t recognize it as an alias.

---
aliases: [2222, test]
---

In the above example, in the preview it shows “test” as metadata but not “2222”

Environment

  • Operating system: Mac
  • Obsidian version: 12.6

Additional information

Use the notation with quotation marks

---
aliases: ["222","ccc"]
---
1 Like