d0c-s4vage / lookatme

An interactive, terminal-based markdown presenter
https://lookatme.readthedocs.io/en/latest/
MIT License
2.06k stars 59 forks source link

Consecutive lines don't condense their whitespace #178

Closed d0c-s4vage closed 1 year ago

d0c-s4vage commented 1 year ago

Describe the bug In most markdown renderers, consecutive lines of text end up having their whitespace condensed to a single space.

E.g.

Markdown:

This is markdown text again
This is markdown text again
This is markdown text again

Rendered by GitHub (which I think is the wrong way - softbreaks should be spaces, not newlines):

image

Rendered b;y GitLab

image

Additional context

See this stackoverflow post: https://stackoverflow.com/questions/41513565/markdown-and-line-wrapping

d0c-s4vage commented 1 year ago

Fixed with #179