▲ 1583 ▼ 5 tomatoes (lemmy.world) submitted 11 months ago by ickplant@lemmy.world to c/lemmyshitpost@lemmy.world 250 comments fedilink hide all child comments
[–] Viking_Hippie@lemmy.dbzer0.com 4 points 11 months ago (1 child) Or just \ at the end, like so Texty text text \ Text Becomes Like this permalink fedilink source parent hideshow 2 child comments replies: [–] ryedaft@sh.itjust.works 8 points 11 months ago* (1 child) So you escape the newline and you get a newline? That's some black magic voodoo. But hey if it works. Much simpler to handle than double space since you can see them and your phone doesn't try to make them into period space instead of space space. Newlines with double space (or space backslash apparently) also let's you have newlines in a quote block without exiting the block. I see a lot of people struggle with that on Lemmy. E.g. > A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline will render as: A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline So you want to do > A quote with multiple lines \ Will eat the the newline \ Or exit if you don't handle the newline A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline Or add space space at the end instead of space backslash. permalink fedilink source parent hideshow 2 child comments replies: [–] lagoon8622@sh.itjust.works 2 points 11 months ago (1 child) The inventors of Markdown thought they would do something devastatingly clever and eat newlines if the next line has content. That way, if you're writing Markdown in the Stone Age and your editor doesn't support soft-wrap (it's a stone tablet), you can do your own soft-wrap and Markdown will "helpfully" eat all the newlines (unless there are two or more). Of course this has done nothing to help and instead caused chaos and confusion for anyone non-technical. Very clever permalink fedilink source parent hideshow 2 child comments replies: [–] ryedaft@sh.itjust.works 3 points 11 months ago It would be more useful if there were comments in markdown. Like, it's helpful when organising your writing and thoughts in LaTeX that you can write one line per sentence, double newline for end of paragraph. It becomes immediately clear when a sentence is too long and comments for collaborators (or yourself) are easier to handle than in something like Word or Google Docs. It's also simpler to move sentences around which is important for good writing. permalink fedilink source parent
[–] ryedaft@sh.itjust.works 8 points 11 months ago* (1 child) So you escape the newline and you get a newline? That's some black magic voodoo. But hey if it works. Much simpler to handle than double space since you can see them and your phone doesn't try to make them into period space instead of space space. Newlines with double space (or space backslash apparently) also let's you have newlines in a quote block without exiting the block. I see a lot of people struggle with that on Lemmy. E.g. > A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline will render as: A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline So you want to do > A quote with multiple lines \ Will eat the the newline \ Or exit if you don't handle the newline A quote with multiple lines Will eat the the newline Or exit if you don't handle the newline Or add space space at the end instead of space backslash. permalink fedilink source parent hideshow 2 child comments replies: [–] lagoon8622@sh.itjust.works 2 points 11 months ago (1 child) The inventors of Markdown thought they would do something devastatingly clever and eat newlines if the next line has content. That way, if you're writing Markdown in the Stone Age and your editor doesn't support soft-wrap (it's a stone tablet), you can do your own soft-wrap and Markdown will "helpfully" eat all the newlines (unless there are two or more). Of course this has done nothing to help and instead caused chaos and confusion for anyone non-technical. Very clever permalink fedilink source parent hideshow 2 child comments replies: [–] ryedaft@sh.itjust.works 3 points 11 months ago It would be more useful if there were comments in markdown. Like, it's helpful when organising your writing and thoughts in LaTeX that you can write one line per sentence, double newline for end of paragraph. It becomes immediately clear when a sentence is too long and comments for collaborators (or yourself) are easier to handle than in something like Word or Google Docs. It's also simpler to move sentences around which is important for good writing. permalink fedilink source parent
[–] lagoon8622@sh.itjust.works 2 points 11 months ago (1 child) The inventors of Markdown thought they would do something devastatingly clever and eat newlines if the next line has content. That way, if you're writing Markdown in the Stone Age and your editor doesn't support soft-wrap (it's a stone tablet), you can do your own soft-wrap and Markdown will "helpfully" eat all the newlines (unless there are two or more). Of course this has done nothing to help and instead caused chaos and confusion for anyone non-technical. Very clever permalink fedilink source parent hideshow 2 child comments replies: [–] ryedaft@sh.itjust.works 3 points 11 months ago It would be more useful if there were comments in markdown. Like, it's helpful when organising your writing and thoughts in LaTeX that you can write one line per sentence, double newline for end of paragraph. It becomes immediately clear when a sentence is too long and comments for collaborators (or yourself) are easier to handle than in something like Word or Google Docs. It's also simpler to move sentences around which is important for good writing. permalink fedilink source parent
[–] ryedaft@sh.itjust.works 3 points 11 months ago It would be more useful if there were comments in markdown. Like, it's helpful when organising your writing and thoughts in LaTeX that you can write one line per sentence, double newline for end of paragraph. It becomes immediately clear when a sentence is too long and comments for collaborators (or yourself) are easier to handle than in something like Word or Google Docs. It's also simpler to move sentences around which is important for good writing. permalink fedilink source parent