GitHub Indent Comment Blocks

A userscript that allows you to indent & outdent blocks in the comment editor

ของเมื่อวันที่ 14-04-2017 ดู เวอร์ชันล่าสุด

ผู้เขียน
Mottie
คะแนน
0 0 0
เวอร์ชัน
1.0.3
สร้างเมื่อ
16-03-2017
อัปเดตเมื่อ
14-04-2017
Size
5.25 กิโลไบต์
สัญญาอนุญาต
https://creativecommons.org/licenses/by-sa/4.0/
ปรับใช้กับ

A userscript that allows you to indent & outdent blocks in the comment editor

  • It only works on issue & gist comment pages.
  • Click on the "Indent" button or the Tab key to add a set number of spaces to the left of the selected text.
  • Click on the "Outdent" button or Shift+Tab to remove zero to the set number of spaces to the left of the selected text.
  • If no text is selected, the set number of spaces is added or removed to the right of the cursor.
  • Use the userscript addon to change the set number of spaces (see screenshot below). It is set to 2 spaces by default.

github-indent-comments

* NOTES *

  • The "Toggle monospaced font" can be added by installing the userscript; or, install the GitHub-Dark Script which adds multiple scripts & a dark theme.
  • The default of two spaces are being added & removed in the above screenshot.

Hosted with ♥ at GitHub