-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Edit-attention fixes #13533
Edit-attention fixes #13533
Conversation
Instead of adding more parenthesis ((thing)) around the word, maybe it could transform it into (thing:1.2) instead. |
per @SirVeggie's suggestion
2249d00
to
954499a
Compare
Fix square brackets multiplier
this breaks if you attempt to edit b in |
|
Currently, if the cursor is inside parentheses or angle brackets that aren't an (emphasis:1.0) block, Ctrl+Up/Down does nothing.
Fixes it by using regular expressions to more accurately check if selected text is inside an emphasis block.
If selected text is inside (parentheses) or [square brackets], as with old-style emphasis blocks, they'll be ((added)) or removed accordingly, or optionally converted to (numeric:1.1).
Checklist: