GitHub Code Guides

A userscript that allows you to add one or more vertical guidelines to the code

目前为 2017-03-25 提交的版本。查看 最新版本

作者
Mottie
评分
0 0 0
版本
1.1.2
创建于
2016-08-27
更新于
2017-03-25
大小
3.4 KB
许可证
https://creativecommons.org/licenses/by-sa/4.0/
适用于

A userscript that allows you to add one or more vertical guidelines to the code

  • The userscript adds guideline(s) to code blocks.
  • Customize the guideline position, color and width.
  • Add as many guidelines as you desire.
  • By default, one guide is set at 80 characters.
  • Guidelines are added as a background linear gradient with multiple stops.
  • It will not interfere if you copy & paste the code.
  • For instructions on how to customize the guideline(s), see the docs on customization.
  • The userscript adds CSS to use a monospace font in all comment textareas. Removed in v1.1.0. Use the toggle instead.

github-code-guides

  • Note: the expanded code guide is shifted by 10 pixels due to extra padding inside of the table cell.