citekey enhancements (auto completion and more) - #85
Open
osmalpkoras wants to merge 1 commit into
Open
Conversation
Author
|
This partly adresses issue #78 |
|
@osmalpkoras thanks for your hint! I also came up with the same solution to issue #78 but actually without forking the plugin but by only replacing a character in the main.js of the plugin. See the issue... |
Author
|
Hey @mgmeyers let me know if something needs to be done for this pull request or if I can help with other issues |
andrewwdao
added a commit
to a-boring-company/obsidian-pandoc-reference
that referenced
this pull request
Oct 9, 2025
… more): Enhance citation suggestion logic and regex patterns for improved matching
andrewwdao
added a commit
to a-boring-company/obsidian-pandoc-reference
that referenced
this pull request
Oct 9, 2025
merge community-archive#85 and community-archive#144 from original repo, then modernised the repo with a dev container and Node 24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello,
I started using your plugin for Obsidian and found the citekey feature a little lacking, so I quickly made some enhacements:
@"..."to search for multiple strings (seperated by the space character) inside the reference key and title. The citekey suggestions only contain items that have a fuzzy match for all strings.@"...") suggestions feature when it is surrounded by whitespace (of any kind) or the following characters:-,(,),[,],{,}Still To-Do:
[ ] fix displaying citekey commands when they are surrounded by the characters mentioned above (whitespace (of any kind) or the following characters:
-,(,),[,],{,})I was able to fix the last issue by changing the
preKeyvariable inparser.ts:64like this:I successfully tested it on my machine. However, since I had no time to dive into how citekeys are displayed, I do not know if this fix has unwanted consequences.