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

FR: works even in front of a closing bracket: e.g. @@) #18

Closed
janklostermann opened this issue Mar 17, 2024 · 3 comments
Closed

FR: works even in front of a closing bracket: e.g. @@) #18

janklostermann opened this issue Mar 17, 2024 · 3 comments

Comments

@janklostermann
Copy link

This plugin is great! Thanks a lot!
Nonetheless I repeatedly run into a complication with it.

Current situation

When I try to add a quick-link in a bracket, it just does not work, as it expects a white-space after the @@.
This is surprisingly often, as Joplin's editor (thankfully) automatically adds the closing bracket with the opening one.
Example:

some text (see also @@)

Workaround

Introducing a white-space manually, and remove it afterwards again, makes it work, but feels like quite a lot additional unnecessary hussle. Especially if this situation occurs often. And it seems to be resolvable easily, but I might be wrong with that.

some text (see also @@ )

Suggestion

If there could be some more symbols accepted as "white-space" in this situation, this would be great. (e.g. ), ], } )
Then you could directly continue writing (see also ) -> (see also @@otherNote).

Thanks for considering.

@roman-r-m
Copy link
Owner

What you suggesting makes sense.
In fact, it already works with CodeMirror 6 (enable "Opt-in to the editor beta" in settings). For CM5 I'll make the change now.

@roman-r-m
Copy link
Owner

Fixed in 1.3.2

@janklostermann
Copy link
Author

Thanks so much!
I will test as soon as 1.3.2 becomes available.

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