D
D
Danil Antoshkin2015-08-21 23:50:10
GitHub
Danil Antoshkin, 2015-08-21 23:50:10

How to wrap lines in GitHub?

When making .md in the editor, I have the text line by line
fff
vvvv
pppp
And when viewing it like this (in one line, and if it's long, it's just hyphens)
fff vvvv pppp
How to deal with this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
X
xSkyFoXx, 2015-08-22
@TwerTrue

Put 2 spaces at the end of the line. This will tell md to render the next line from the beginning of a newline.

H
honmiv, 2022-02-16
@honmiv

line1\
line2
backslash + line break produces the desired result

I
itwork, 2022-03-13
@itwork

https://github.com/OlgaVlasova/markdown-doc/blob/m...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question