Reputation: 28369
I just started with the github and markdown, created my first README.md.
Edited text in vim and wanted see how it would be previewed in the github. However my line breaks were "deleted" (several lines became one long line).
How can I fix this problem?
This is what I did:
Edited text in vim
> My email(space)(space)
> My name(space)(space)
My text became
> My email(space)> My name
Upvotes: 1
Views: 64
Reputation: 1328152
Make sure those two spaces are preserved when you copy uour text from vim to the GitHub editor.
If those spaces are there, then your newline will be preserved in the preview.
Upvotes: 1