this post was submitted on 30 Aug 2023
10 points (85.7% liked)

Lemmy Moderators

758 readers
1 users here now

A community for moderators of various communities to discuss moderating. Help others and get help yourself! Remember, there are no stupid questions!

If you have general questions or things you want to share about the Fediverse, then head over to !fediverse@lemmy.world!

If you want help with making a lemmy bot, then head over to !lemmybotsupport@lemmy.world!

Rules

founded 1 year ago
MODERATORS
 

Sorry for the old-school terminology and mis-terms in this message as I have not had a problem like this since my dumb-terminal days (I'm guessing that long)

How does one add the proper carriage returns to a post?

I have these three lines, with a new line on each but formats as one paragraph: This is line 1. This is line 2. This is line 3.

The only way I can separate these lines is using an extra carriage return between each line which looks horrible.

This is line 1.

This is line 2.

This is line 3.

How do I get the above lines to show up without that extra new line between each?

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] Zeus@lemm.ee 2 points 1 year ago* (last edited 1 year ago)

to add to this, some things to know:

  1. any syntax can be escaped by prepending it with a backslash (\). this won't appear in the rendered message
  2. you can also do a line break without a paragraph break by ending the line with a backslash
  3. you don't have to do the numbers. start each line of a numbered list with 1., and the numbers will be generated automatically
  4. lemmy also supports footnotes[^1] - documentation here, although the "longnote" syntax doesn't work
  5. you can view the source of any comment/post by pressing the "more" button, then the button that looks like a page. thus you can see how somebody achieved any markup (only available when logged in, for some reason)
  6. most of these are broken on at least some clients, particularly spoiler and footnotes

[^1]: like this!