benjaffe / logseq-reference-styles

MIT License
37 stars 2 forks source link

Feature Request: Option to add aliases? #15

Open rowsof opened 8 months ago

rowsof commented 8 months ago

Example: Let's say I have an old "friend" (YEAH RIGHT, JOHN) named John who I'm really angry with and I want to put a devil emoji next to his name.

The problem is, I've rightly imprisoned John in the Enemies namespace. Which means I must invoke [[Enemies/John]] when I want to talk about him, and it means I need to set Enemies/John for my reference-styles. But I've also created aliases for John to easily link back to the page where I document his deceitful antics, and these aliases are not caught by the plugin. The only time the style is applied is when [[Enemies/John]] is recognized, but I'd love to see that devil emoji when I reference his aliases (John's, Jonny-boy, my bestie, The Guy Who Ate My Bread, JJ Dumbopants). I'm happy to add these aliases in the same box via comma separation, or any other way.

I hope you enjoyed this example 😄 Thanks for any help/support, or even just saying nah. I'll take a nah.