Greasy Fork is available in English.
优化GitHub显示
当前为
// ==UserScript==
// @name 优化GitHub
// @namespace http://tampermonkey.net/
// @version 0.4
// @description 优化GitHub显示
// @author Dongyi An
// @match https://github.com/markyun/My-blog/blob/master/Front-end-Developer-Questions/Questions-and-Answers/README.md
// @grant none
// ==/UserScript==
(function() {
'use strict';
const css = `
.container-lg {
}
pre, code {
white-space: pre-wrap;
word-wrap: break-word;
}
`;
const textNode = document.createTextNode(css);
const style = document.createElement('style');
style.appendChild(textNode);
document.head.appendChild(style);
})();