你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/28176-github-indent-comments,源站連結 點此以跳轉

GitHub Indent Comments

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

当前为 2021-02-21 提交的版本,查看 最新版本


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/28176/903091/GitHub%20Indent%20Comments.user.js

安装此脚本?
作者
Mottie
评分
0 0 0
版本
1.0.15
创建于
2017-03-16
更新于
2021-02-21
大小
5.3 KB
许可证
MIT
适用于

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