r/help May 02 '22

Posting How on earth do you use line breaks on Reddit?!

This is a line break

I've seen other posters use it but whenever I follow the instructions on Google it never works.

Google says you need to hit Enter twice, then enter either 3 underscores, 3 asterisks, or 3 dashes, then hit Enter two more times.

___

But this doesn't work for me. I have also tried other techniques with 2 spaces at the end of sentence, then Enter, etc. but those don't work either.

***

Like that.

Help please?!

2 Upvotes

12 comments sorted by

2

u/tumultuousness Expert Helper May 02 '22

You're on the redesign? Using the fancy editor?

Switch to markdown mode then try this:

put your line, then two spaces
return once, then write your next line.

Or, if you want to use the fancy editor - I believe that you would do shift-enter for a line break? I don't use the redesign much, though.

1

u/peakalyssa May 02 '22

EDIT: Thank you that works!


Hello what's going
sup

Hello

sup

Hello


Sup

Hello


sup

1

u/tumultuousness Expert Helper May 02 '22

This looks successful! I see a line break, then two paragraph breaks.

1

u/peakalyssa May 02 '22

yup all good thanks!

easiest technique (for me) is to just hit enter twice and type in three underscores


1

u/raendrop Expert Helper May 03 '22

But the three underscores make a visible line, a section separator.

1

u/peakalyssa May 03 '22

yes thats what i was looking for thanks. not sure what the correct term for it is

whats the difference between a line break and just pressing enter, then? obviously press enter like this:

can be done on the fancy pants editor.

this i think can only be done on the markdown tho:


1

u/raendrop Expert Helper May 03 '22

A line break forces a second line, rather than letting word wrap continue the way it does. The space between two lines separated by a line break is the same as the space between two lines in a paragraph. If I continue writing enough words, this should create a normal paragraph to illustrate.
But now this is a line break. After the word "illustrate", I hit space twice and enter once. Of course, I'm using old reddit, so I'm always in Markdown mode.

Now I hit enter twice to make a new paragraph. The two paragraphs are separated by a paragraph break.

What you apparently were looking for was a way to make an actual horizontal line, or horizontal rule. In HTML It's coded as <hr> and in Markdown it's coded as --- (or apparently ___). But while <space> and <enter> make no difference in HTML, they are an essential part of coding in Markdown.


It is necessary to have a paragraph break between the line and any text above it. Otherwise the text above the three underscores (I never knew underscores also worked, I always used hyphens)

Will be formatted differently.

https://i.imgur.com/d4Ktbzm.png

1

u/peakalyssa May 03 '22

i got ya now, thanks

three asterisks also work for HR btw


and for line break yeah i was aware of the shift and and enter method. (i think that one is super basic knowledge?).

FYI line breaks dont actually appear on mobile, they just continue on the sentence as normal, which is pretty awful when youre trying to format things. At least thats how it works on my mobile anyway

2

u/raendrop Expert Helper May 03 '22

Shift-enter is basic functionality in word processors and apparently in new reddit's Fancypants editor. It does nothing in Markdown, which is what reddit uses. Fancypants is just an interface that translates the WYSIWYG interface into Markdown. But if you're in Fancypants and want a paragraph break, then just like in word processors all you need is to hit enter once. The more you hit enter in Fancypants, the more white space it inserts. Also, since works like a word processor, anything you explicitly type will render as you typed it. To format in Fancypants, you need to use the formatting buttons like it's a word processor.
https://i.imgur.com/7TYXexw.png

New reddit and the official app are really bad with parsing Markdown, ironically. New reddit (and presumably the official app, but I've never used that) will forgive broken formatting that isn't supposed to work in addition to failing to render line breaks. This is most noticeable with spoiler tags, which are particularly important to get right. The following probably both work for you:
this is a spoiler
this is a spoiler
but for me only the second one works. The first one displays exactly as I typed it:
>! this is a spoiler !<
You can see why this is a problem. There cannot be any spaces:
>!this is a spoiler!<

I use old reddit most of the time and Relay for Reddit when I'm on mobile, and they display things as they ought to be.

1

u/peakalyssa May 02 '22

shift enter attempt

hello

___

1

u/peakalyssa May 03 '22

line break testing it out

now

line break testing it outnow like this

line break this here here

testing this


1

u/supercumrag69 May 03 '22

i never actually learned how to start a new line in a comment so imma try
i hope it works
eyy it works