Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support matching via filename without @ #33

Closed
tim-hilde opened this issue Jan 5, 2023 · 4 comments
Closed

Support matching via filename without @ #33

tim-hilde opened this issue Jan 5, 2023 · 4 comments

Comments

@tim-hilde
Copy link

Currently, matching via filename requires either @ at the beginning of the file or the citekey present in the yaml frontmatter. I'd like to match via filenames without @ and without a specific yaml frontmatter. Just via a filename in this format: citekey.md

@daeh
Copy link
Owner

daeh commented Jan 7, 2023

Will be in the next release. I have a ton of January deadlines, but this feature is on the way.

dup #26, related #27

@daeh
Copy link
Owner

daeh commented Jan 15, 2023

@tim-hilde please try https://github.com/daeh/zotero-markdb-connect/releases/tag/v0.0.21 and let me know if it works for you. Use the Custom File Filter regex to specify a file filter with a capturing group. If the filename is simply the citekey, you could use: ^(.+)\.md$.

@tim-hilde
Copy link
Author

Yes, that seems to do the trick. Thanks!

@daeh
Copy link
Owner

daeh commented Jan 15, 2023

closed by 3fff8d3

@daeh daeh closed this as completed Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants