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

Auto-complete works with letters but not numbers #5

Closed
quickfold opened this issue Apr 7, 2020 · 2 comments
Closed

Auto-complete works with letters but not numbers #5

quickfold opened this issue Apr 7, 2020 · 2 comments

Comments

@quickfold
Copy link
Contributor

Auto-complete matches letters but not numbers or symbols. This may be by design, but if people want to use Luhmann IDs in note titles, it will make it harder for them to find notes.

@jay-pee
Copy link

jay-pee commented Apr 7, 2020

Have the same problem! I use timestamp IDs and auto-complete is not working in this note archive.

@kortina
Copy link
Owner

kortina commented Apr 11, 2020

In wiki links, the following characters (including numbers) should work:

regex = /\[\[[\w\.\-\_\/\\]+/i;:

regex = /\[\[[\w\.\-\_\/\\]+/i;

2020-04-11 10 38 57

In tags, the following characters (including numbers) should work:

regex = /\#[\w\-\_]+/i;:

regex = /\#[\w\-\_]+/i;

2020-04-11 10 39 45

We could potentially make these regexes configurable to allow for other symbols (such as :), but my inclination is to leave defaults as is.

@kortina kortina closed this as completed Apr 11, 2020
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

3 participants