glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Line break/new line is created when adding 2+ spaces to the end of a line

Open dvaerum opened this issue 4 years ago • 4 comments

It doesn't look like glow is following the standard for markdown when it comes to the option of adding 2+ spaces to the end of a line to indicated line break/new line.

When you do want to insert a
break tag using Markdown, you end a line with two or more spaces, then type return.

Ref: https://daringfireball.net/projects/markdown/syntax#p

Note: I am using (the latest) version 0.2.0 of glow

dvaerum avatar Apr 07 '20 07:04 dvaerum

I experience the same issue and can confirm it.

bionade24 avatar Jun 07 '20 17:06 bionade24

You're right, we're currently re-flowing the text to fit the desired output width. We should make this optional.

muesli avatar Jul 06 '20 12:07 muesli