Github Word Wrapping for CODE blocks

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

ავტორი
S-ed
დღიური ინსტალაციები
0
მთლიანი ინსტალაციები
42
რეიტინგი
1 0 1
ვერსია
1.220705.1
შექმნილია
06.06.2015
განახლებულია
05.07.2022
Size
3,32 KB
ლიცენზია
MIT
გამოყენებს მათ

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.

长期地址
遇到问题?请前往 GitHub 提 Issues。