GitHub Code Guides

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

As of 2017-03-25. See the latest version.

Author
Mottie
Ratings
0 0 0
Version
1.1.2
Created
2016-08-27
Updated
2017-03-25
Size
3.43 KB
License
https://creativecommons.org/licenses/by-sa/4.0/
Applies to

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.