kuchejak / obsidian-bible-linker-plugin

Obsidian.md plugin that allows you to link multiple bible verses easily
MIT License
81 stars 5 forks source link

[Feature/Enhancement Requests] Fuzzy Search when link #28

Closed potatochick2020 closed 5 months ago

potatochick2020 commented 1 year ago

When linking a verse, e.g. 1Co 1:1 , Typing 1Co is the only way to link the verse. It will be better to enable fuzzy search so typing 1Co 1:1 , 1COR 1:1

Proposal

I understand the current logic is doing so by search the exact file name, I think this can be done by adding a "Dictonary" in setting, which allows users to make their mapping for text, e.g.

User Input Generated text use for search
1Cor 1CO
1corinthians 1CO

I think this will help alot especially when users use multiple language version of Bible

I could try to do the coding and submit a pull request if you like this feature.

kuchejak commented 1 year ago

Hello, I kind of like this idea; I can actually imagine using it myself. So if you are willing to do the coding, feel free to create a PR. Thank you! Just please make sure that the corresponding setting is easy to understand, because I feel like the number of settings is getting overwhelming for new users.

kuchejak commented 5 months ago

I have added the option to the settings. Update to version 1.5.1 to use it.