dominiclet / obsidian-note-definitions

MIT License
33 stars 2 forks source link

Support defining multiple words in one go #11

Closed nilarkian closed 1 month ago

nilarkian commented 1 month ago

for example the word search cost , even being able to do something search-cost will be awesome

this a great plugin btw, thanks for everything

dominiclet commented 1 month ago

Hi! Thanks for the feedback and the kind words :) Yes currently the algorithm I've written to search for defined words in a note is a very naive one, so defining only a single word is supported. I will however be looking into improving it to support defining multiple words in one go.

KennyDenvers commented 1 month ago

Thanks for the plugin! I am interested also in using "multiple word expressions". Thought they could be used when put in quotation marks. Would that be an option?

dominiclet commented 1 month ago

@KennyDenvers I think preferably multi-word expressions should still work without any additional syntax such as placing them in quotation marks. I'll come up with a solution and update this thread once I'm done!

dominiclet commented 1 month ago

Implemented in 0.2.0. Let me know if there are any issues!