Hacker News new | ask | show | jobs
by yencabulator 1224 days ago
> For example, Markdown has a syntax for inserting a break, inside a paragraph. You put two space characters at the end of a line, and the parser will inject a line break. Unfortunately, spaces are a "weird" character. They're not visible, unless you turn on the "show invisibles" equivalent in your editor, and even with that enabled, it can be difficult to see them while scanning a document. Also, many editors will remove trailing spaces, causing your break to disappear.

Feel free to use a trailing backslash for the same thing.

    line one\
    line two
https://spec.commonmark.org/0.30/#hard-line-breaks