Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Format selected text in textareas with keyboard shortcuts #2145
If any text is selected while using these keys, the text is wrapped with each of the pressed characters. Text selection is still preserved so that the user can chain these key presses.
On any comment textarea for commits or comments.
This PR doesn't exactly add keyboard shortcuts, I don't know if we can call these actions "keyboard shortcuts".
Even if we added it to the readme, what should we call it? ¯\_(ツ)_/¯
Last time I checked, some of these sub-features weren't working, but that's another issue anyway.
There's still the question of what should this be called when including in readme, keyboard shortcut? Or if this should be extracted into its own feature.
"Faster text formatting"
surround your word or phrase with asterisks. To italicize text, place underscores around a section.
This can also be achieved through highlighting the specific word, then pressing the underscore symbol on your keyboard to automatically format the text.
Something like this, maybe?