Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Feature Request: allow toggling "soft wrap" on and off when viewing files #1982

Open
ElectricRCAircraftGuy opened this issue May 31, 2021 · 1 comment

Comments

@ElectricRCAircraftGuy
Copy link

ElectricRCAircraftGuy commented May 31, 2021

Feature request:

Please add a button to turn on soft text wrap when viewing files, kind of like is already available when editing files on Github online, as shown below.

image

Justification

Here is one of my most-used files in my dotfiles repo: eRCaGuy_dotfiles/git & Linux cmds, help, tips & tricks - Gabriel.txt.

Unfortunately, it's very difficult to read online because it needs soft line wrapping turned on in a text editor to be able to read and make sense of it.

Many code files would also be benefited by soft text wrap, especially when beginners rely on it when writing long, multi-line comments.

@T1mL3arn
Copy link

T1mL3arn commented Jun 2, 2021

Right now you can press "Raw" button. It will open your file in your browser with wrapped lines (at least that is how Firefox works for me). Though this way removes syntax highlighting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants