Markdown toolbar for GreasyFork

Select Markdown format by default, add help links, add toolbar formatting buttons for markdown

2021-03-12 يوللانغان نەشرى. ئەڭ يېڭى نەشرىنى كۆرۈش.

ئاپتورى
darkred
باھا نومۇرى
0 0 0
نەشرى
2.0.3
قۇرۇلغان ۋاقتى
2021-03-08
يېڭىلانغان ۋاقتى
2021-03-12
Size
12.5 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

The script is a fork of this script by wOxxOm, to work with the new GF layout.
Thanks for his work making such an essential script.

  • Common formatting buttons (markdown only)
  • (forum) HTML & markdown formatting help links
  • CODE markdown button that wraps selected text in ` or ``` if multiple lines are selected.
  • MARKDOWN format by default for new comments - also can be set in your profile settings.

Tested on Chrome/Firefox with Tampermonkey/Violentmonkey (Greasemonkey is not supported).

Notes:

  • If you have an issue with the script, please report it in the repo, always open for PRs.
  • Also, please keep in mind that I didn't write the script myself:
    I put an effort to make this script, written by someone else, much more experienced than me, work in the new GF layout.
    My aim is to restore the functionality. That's all.
  • Known issue: in some cases you have to reload the page for the toolbar to appear.

Screenshots: (see attachments)

Hosted at GitHub