joeyespo / grip

Preview GitHub README.md files locally before committing them.
MIT License
6.45k stars 423 forks source link

Locally linked files display without whitespace #285

Open mattogrady87 opened 5 years ago

mattogrady87 commented 5 years ago

I have some notes that I'm hosting locally with grip for easy access. In these notes I have some .sh files linked. If I click the links in vscode it opens them up and displays them as I originally wrote them.

The only issue with grip is that when I open them, they have no whitespace or newlines where the original scripts have it. It's basically all one long, wrapped line.

Possibly this is to do with the fact they were written and saved in linux and has to do with \r\n / Windows thing. I'm really not too sure on this.

Thanks!