This userscript adds a toolbar to the comment box with buttons for bold, italic, and links. It also will format highlighted text with keyboard shortcuts: Ctrl+B = bold, Ctrl+I = italic, Ctrl+K =...
Exemplary
This userscript adds a toolbar to the comment box with buttons for bold, italic, and links. It also will format highlighted text with keyboard shortcuts: Ctrl+B = bold, Ctrl+I = italic, Ctrl+K = link.
I've updated this to add 10 more buttons: https://i.imgur.com/Ly59leJ.png Some features that I think are useful (that the other Markdown toolbar add-on doesn't do): list and quote buttons: inserts...
Some features that I think are useful (that the other Markdown toolbar add-on doesn't do):
list and quote buttons:
inserts the relevant characters at the beginning of the current line if no text is selected, instead of at the current cursor position.
if multiple lines are selected, will insert the characters at the beginning of each line
if the line already starts with the characters for quote or list, the button will toggle it off instead of adding another
code button: it will use inline code if one or less lines are selected, and block code if multiple lines are selected, instead of having two different "code" buttons
A bug: On Chrome the last two buttons look like this. Some feature requests as compared to RES and ReExtended: When bolding something on RES it'll ignore trailing spaces so that if you highlight...
Some feature requests as compared to RES and ReExtended:
When bolding something on RES it'll ignore trailing spaces so that if you highlight something and hit bold (or any other formatting) it stops at the end of the last word. **Bold **with script/ReExtended, with a trailing space, for example.
The link button on the script keeps the highlighted text selected and puts "url" in the parentheses following it, in ReExtended the cursor moves automatically to the "url" area for pasting the address. This may be personal preference, but I'd think that more people have the URL at the ready to paste vs needing to add additional formatting to the selected text.
Thanks a ton!
I've been wanting a hotkey enabled text formatting for some time and you've delivered that. So thank you very much for this.
Not to rain on your parade, @pseudochron, but rather to just inform people who are interested in similar features; @Bauke's Tildes ReExtended (Firefox add-on) also has something like this as well,...
Huh... Don't know why I thought @bauke was gone, but I did and so had been continuing onward waiting for it to stop working entirely. I guess I'll send him a message with a couple of bugs.
Huh... Don't know why I thought @bauke was gone, but I did and so had been continuing onward waiting for it to stop working entirely. I guess I'll send him a message with a couple of bugs.
If you have a GitLab account, you can submit the bug reports yourself, if you're so inclined: https://gitlab.com/tildes-community/tildes-reextended/-/issues If not, feel free to let me know what...
Interesting. I didnʼt know about it, so I made my own script. I updated it today, so I just checked similar here, and I found this thread. My script // ==UserScript== // @name Format Hotkeys for...
Interesting. I didnʼt know about it, so I made my own script. I updated it today, so I just checked similar here, and I found this thread.
This userscript adds a toolbar to the comment box with buttons for bold, italic, and links. It also will format highlighted text with keyboard shortcuts: Ctrl+B = bold, Ctrl+I = italic, Ctrl+K = link.
https://i.imgur.com/3r0NHO2.png
I've updated this to add 10 more buttons: https://i.imgur.com/Ly59leJ.png
Some features that I think are useful (that the other Markdown toolbar add-on doesn't do):
A bug:
Some feature requests as compared to RES and ReExtended:
When bolding something on RES it'll ignore trailing spaces so that if you highlight something and hit bold (or any other formatting) it stops at the end of the last word. **Bold **with script/ReExtended, with a trailing space, for example.
The link button on the script keeps the highlighted text selected and puts "url" in the parentheses following it, in ReExtended the cursor moves automatically to the "url" area for pasting the address. This may be personal preference, but I'd think that more people have the URL at the ready to paste vs needing to add additional formatting to the selected text.
Thanks a ton!
I've been wanting a hotkey enabled text formatting for some time and you've delivered that. So thank you very much for this.
Not to rain on your parade, @pseudochron, but rather to just inform people who are interested in similar features; @Bauke's Tildes ReExtended (Firefox add-on) also has something like this as well, but with a few more options: https://i.imgur.com/t3iatWQ.png
Huh... Don't know why I thought @bauke was gone, but I did and so had been continuing onward waiting for it to stop working entirely. I guess I'll send him a message with a couple of bugs.
If you have a GitLab account, you can submit the bug reports yourself, if you're so inclined:
https://gitlab.com/tildes-community/tildes-reextended/-/issues
If not, feel free to let me know what they are, and I can add them for you since I am a "Maintainer" on the Tildes ReExtended GitLab too. :P
I do not have an account, so thanks for that. I'll shoot you a message.
Interesting. I didnʼt know about it, so I made my own script. I updated it today, so I just checked similar here, and I found this thread.
My script
Differences:
Ctrl
Z
.