Github Word Wrapping for CODE blocks

Switches word wrapping for CODE blocks in comments on github.com

Auteur
S-ed
Nombre d'installations quotidiennes
0
Nombre d'installations
42
Évaluations
1 0 1
Version
1.220705.1
Créer
2015-06-06
Mis à jour
2022-07-05
Taille
3,32 ko
Licence
MIT
S'applique à

Userscript for github that adds a button to switch word wrapping for code in comments.

example

Script uses Local Storage to store a default setting of word wrapping for whole site. It will use hardcoded value

var wrapDefault = false;

if no Local Storage available.

There is no also menu to reset default value stored in Local Storage.

localStorage.removeItem("wrapDefault");

command may be used to reset the value.