Markdown preview doesn't show a hard line break for lines ending in a backslash
Opened this issue · 1 comments
swtaarrs commented
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Markdown preview doesn't show a hard line break for lines ending in \
.
Steps to Reproduce
- Create a new .md file
- Open up markdown preview with
ctrl-shift-m
- Make sure the preview is in "GitHub Markdown mode"
- Paste this gist into your .md file.
- Look at the markdown preview
Expected behavior: According to the GFM spec, ending a line with \
is supposed to result in a hard line break. I'd expect to see "hello world", with a line break between the two words, twice. You can see the expected results right here as well:
hello
world
Actual behavior: The line ending in two spaces gets a hard break at the end, but the line ending with \
just shows \
in the middle of the line:
Reproduces how often: 100%
Versions
Atom : 1.23.3
Electron: 1.6.15
Chrome : 56.0.2924.87
Node : 7.4.0
markdown-preview: 0.159.18
UrsaDK commented
A possible solution might be to use markdown-preview-plus until this is resolved.