Automatically make upper and lower case aliases of a note titel in the YAML header

You can use the Templater plugin and then add the following code to the top of the template:

---
aliases: ["<%tp.file.title.toUpperCase()%>","<%tp.file.title.toLowerCase()%>","<%tp.file.title.charAt(0).toUpperCase()+tp.file.title.slice(1)%>"]
---

The Templater plugin will call the javascript to produce the aliases you want.

10 Likes