ajpiano / Gitpicking

A set of tools for improving the experience of discussing and editing prose text on Github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitpicking

A set of tools for improving the experience of discussing and editing prose text on Github, by @jsvine and @ajpiano. Right now we only have one, but there's more in the works!

Multiline Bookmarklet

Github works great when you're discussing changes and asking questions about code. Unfortunately, when you're working with prose text, lines frequently go way past the edge of the container, often with the horizontal scrollbar a long ways away. It's pretty much impossible to read anything. Sure, you could just make sure that everyone, everywhere, always sets a hard wrap on their text, but solutions like "make millions of people do something differently," rarely scale in the short term. We think it's a lot easier to just remove the non-breaking spaces in the code display and force the text to wrap... which is exactly what this bookmarklet does!

Before

Before

After

After

Note: The bookmarklet currently restricts wrapping to files ending in .md, .markdown, .txt, .textile, .xml, or .rst. But it's easy enough to remove this restriction -- either yourself, or by convincing us to do it here.

About

A set of tools for improving the experience of discussing and editing prose text on Github


Languages

Language:JavaScript 100.0%