d0c-s4vage / lookatme

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

3.0 - Handle softbreaks as spaces #179

Closed d0c-s4vage closed 1 year ago

d0c-s4vage commented 1 year ago

This PR deals with softbreaks correctly (or how I think is more correct). Softbreaks should be spaces, not newlines, unless the previous line ended with a dash that was preceded by a non-space, which would make us not insert a space but eat the newline.