Greasy Fork is available in English.

Github Word Wrapping for CODE blocks

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

Penulis
S-ed
Pemasangan harian
0
Total pemasangan
39
Nilai
1 0 0
Versi
1.220705.1
Dibuat
06 Juni 2015
Diperbarui
05 Juli 2022
Lisensi
MIT
Berlaku untuk

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.