-
Notifications
You must be signed in to change notification settings - Fork 163
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
Feature Request: New command(s) to remove styling #283
Comments
Most of the markup insertion/styling commands work as toggles already, including bold.
That's the intended behavior of the toggle functionality. If it's not working like that, can you give a test case or instructions to replicate?
If so, then I think that would be a bug. |
Took a little to narrow it down. Create a buffer with two list items: - [foo](bar) -
- [**abc**](def) - The important point is that 'abc' must be bolded. Put point in foo after the 'f'. |
Thanks for narrowing this down. I can reproduce what you described and will look into it. |
Confirmed bug in toggle functionality, following @hmelman's steps to reproduce,
Transforms
to (first interation with point in between the two
to (second interation with point in between the two
with Emacs 26.1 and markdown-mode f3c54e3 |
I have merged #466. Please check latest version. |
I wanted to remove bolding from some text. It would be nice if there was a command to do so. I'm not sure how it would work.
C-c C-s b
will bold the whole word and leave point where it is. It would be nice for a remove function to have symmetry with this behavior.C-c C-r
) that would remove paired formatting (bold, italics, headings, code, etc). Perhaps it would be better to have the existing commands be a toggle. Currently if point is in a bolded word,C-c C-s b
will add more asterisks which probably isn't what is wanted. Perhaps a toggle is more efficient behavior and works better in nested circumstances (this text is bold and code, remove the code tags) . This could also be easier to implement because code could know what specific chars to look for rather than working on the inner most nested styling.The text was updated successfully, but these errors were encountered: