Install
StylishThemes / GitHub Toggle Code Wrap

Published:

Version: 1.1.8+f61e34e updated

Summary: A userscript that adds a code wrap toggle button

Groups:

License: MIT

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.

This code is integrated into the GitHub Dark Script; it is available here separately. There is no need to install both.

code-wrap

Rating: 0