-
Notifications
You must be signed in to change notification settings - Fork 51
Toggles
GitHub-Dark Script currently includes three toggles:
All code blocks will have an attached icon in the upper right corner ()
Clicking this icon will override the global code wrap setting to either wrap or unwrap the contained code.
While hovering the icon, its color will change:
- Green: Code wrapping is enabled.
- Red: Code wrapping is disabled.
Clicking on the icon will toggle code wrapping for only that block of code.
Every comment block will have a monospace font toggle button added to the toolbar.
Clicking the toggle button will change the textarea font from the default font to a monospaced font.
When the monospace font is applied, the following css is applied:
font-family: Menlo, Inconsolata, "Droid Mono", monospace !important; font-size: 1em !important;
When viewing a commit diff, a file toggle button is added to each file header.
Click on the toggle button to either collapse or expand that file block, or use Shift + Click to collapse or expand all file blocks.
Try it on this page!