Library · Work
GitHub: wrap long lines in code
Wraps long lines in file views so you never scroll sideways.
github.comFrom the Tweak the Web library
What it changes
- Restyles the page with its own look.
It applies as the page loads and keeps working as the page updates. Turn it off any time and the page returns to normal.
Technical details
{
"matches": [
"github.com"
],
"actions": [
{
"type": "css",
"css": ".blob-code-inner, .react-code-text, .react-file-line, .react-code-line-contents, .markdown-body pre code {white-space:pre-wrap!important;word-break:break-all!important;overflow-wrap:anywhere!important;}"
}
]
}Using Claude, ChatGPT or another assistant? Ask it: “Add the GitHub: wrap long lines in code rule from Tweak the Web.”