this post was submitted on 27 Apr 2025
197 points (100.0% liked)

Today I Learned

21661 readers
915 users here now

What did you learn today? Share it with us!

We learn something new every day. This is a community dedicated to informing each other and helping to spread knowledge.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must begin with TIL. Linking to a source of info is optional, but highly recommended as it helps to spark discussion.

** Posts must be about an actual fact that you have learned, but it doesn't matter if you learned it today. See Rule 6 for all exceptions.**



Rule 2- Your post subject cannot be illegal or NSFW material.

Your post subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Posts and comments which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding non-TIL posts.

Provided it is about the community itself, you may post non-TIL posts using the [META] tag on your post title.



Rule 7- You can't harass or disturb other members.

If you vocally harass or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.

For further explanation, clarification and feedback about this rule, you may follow this link.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.

Unless included in our Whitelist for Bots, your bot will not be allowed to participate in this community. To have your bot whitelisted, please contact the moderators for a short review.



Partnered Communities

You can view our partnered communities list by following this link. To partner with our community and be included, you are free to message the moderators or comment on a pinned post.

Community Moderation

For inquiry on becoming a moderator of this community, you may comment on the pinned post of the time, or simply shoot a message to the current moderators.

founded 2 years ago
MODERATORS
 

==============

This is a first line This is a second line This is the third line.

==============

These all appear on the same line eventhough I wrote them on separate lines

If I add a "enter" after each line, they'll appear on separate lines, but have white spaces in between.

==============

This is the first line

This is the second line

This is the third line.

===============

Now I only add two spaces behind each line and they'll appear just as I wrote them

================

This is the first line.
This is the second line.
This is the third line.

================

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 days ago (1 children)
[–] [email protected] 2 points 2 days ago (1 children)

Aww sad :( Which client is this?

[–] [email protected] 1 points 1 day ago* (last edited 1 day ago)
[–] [email protected] 56 points 6 days ago* (last edited 6 days ago) (2 children)

You can also put a backslash before a newline, like this

Line1\
Line2\
Line3

Looks like this:

Line1
Line2
Line3

Without the backslashes: Line1 Line2 Line3

With two newlines:

Line1

Line2

Line3

Also check out this Markdown tutorial , it's very helpful.

[–] [email protected] 7 points 6 days ago (1 children)

Discovered this as well the other day. Much better for me, since you can see it, and also 2 spacebar hits on mobile makes a full-stop/period for me.

[–] [email protected] 2 points 6 days ago

Same, I actually do three spaces if you count the full-stop. (I didn't count it)

[–] [email protected] 2 points 5 days ago

This does not seem to render as intended in Sync. It's like the opposite effect. The backslashes are showing in the comments, but invisible in the code blocks lol.

[–] [email protected] 29 points 5 days ago* (last edited 5 days ago) (2 children)

You have given me power that I should not have.

⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⠟⣉⡥⠶⢶⣿⣿⣿⣿⣷⣆⠉⠛⠿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⡿⢡⡞⠁⠀⠀⠤⠈⠿⠿⠿⠿⣿⠀⢻⣦⡈⠻⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⡇⠘⡁⠀⢀⣀⣀⣀⣈⣁⣐⡒⠢⢤⡈⠛⢿⡄⠻⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⡇⠀⢀⣼⣿⣿⣿⣿⣿⣿⣿⣿⣶⣄⠉⠐⠄⡈⢀⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⠇⢠⣿⣿⣿⣿⡿⢿⣿⣿⣿⠁⢈⣿⡄⠀⢀⣀⠸⣿⣿⣿⣿ ⣿⣿⣿⣿⡿⠟⣡⣶⣶⣬⣭⣥⣴⠀⣾⣿⣿⣿⣶⣾⣿⣧⠀⣼⣿⣷⣌⡻⢿⣿ ⣿⣿⠟⣋⣴⣾⣿⣿⣿⣿⣿⣿⣿⡇⢿⣿⣿⣿⣿⣿⣿⡿⢸⣿⣿⣿⣿⣷⠄⢻ ⡏⠰⢾⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⢂⣭⣿⣿⣿⣿⣿⠇⠘⠛⠛⢉⣉⣠⣴⣾ ⣿⣷⣦⣬⣍⣉⣉⣛⣛⣉⠉⣤⣶⣾⣿⣿⣿⣿⣿⣿⡿⢰⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⡘⣿⣿⣿⣿⣿⣿⣿⣿⡇⣼⣿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣇⢸⣿⣿⣿⣿⣿⣿⣿⠁⣿⣿⣿⣿⣿⣿⣿⣿⣿



\

⣿⣿⣿⣿⣿⣿⠿⢋⣥⣴⣶⣶⣶⣬⣙⠻⠟⣋⣭⣭⣭⣭⡙⠻⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⡿⢋⣴⣿⣿⠿⢟⣛⣛⣛⠿⢷⡹⣿⣿⣿⣿⣿⣿⣆⠹⣿⣿⣿⣿ ⣿⣿⣿⡿⢁⣾⣿⣿⣴⣿⣿⣿⣿⠿⠿⠷⠥⠱⣶⣶⣶⣶⡶⠮⠤⣌⡙⢿⣿ ⣿⡿⢛⡁⣾⣿⣿⣿⡿⢟⡫⢕⣪⡭⠥⢭⣭⣉⡂⣉⡒⣤⡭⡉⠩⣥⣰⠂⠹ ⡟⢠⣿⣱⣿⣿⣿⣏⣛⢲⣾⣿⠃⠄⠐⠈⣿⣿⣿⣿⣿⣿⠄⠁⠃⢸⣿⣿⡧ ⢠⣿⣿⣿⣿⣿⣿⣿⣿⣇⣊⠙⠳⠤⠤⠾⣟⠛⠍⣹⣛⣛⣢⣀⣠⣛⡯⢉⣰ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡶⠶⢒⣠⣼⣿⣿⣛⠻⠛⢛⣛⠉⣴⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⡿⢛⡛⢿⣿⣿⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡈⢿⣿ ⣿⣿⣿⣿⣿⣿⣿⠸⣿⡻⢷⣍⣛⠻⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⢇⡘⣿ ⣿⣿⣿⣿⣿⣿⣿⣷⣝⠻⠶⣬⣍⣛⣛⠓⠶⠶⠶⠤⠬⠭⠤⠶⠶⠞⠛⣡⣿ ⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣬⣭⣍⣙⣛⣛⣛⠛⠛⠛⠿⠿⠿⠛⣠⣿⣿ ⣦⣈⠉⢛⠻⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠛⣁⣴⣾⣿⣿⣿⣿ ⣿⣿⣿⣶⣮⣭⣁⣒⣒⣒⠂⠠⠬⠭⠭⠭⢀⣀⣠⣄⡘⠿⣿⣿⣿⣿⣿⣿⣿ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⡈⢿⣿⣿⣿⣿⣿



\

──────▄▌▐▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▌
───▄▄██▌█ BEEP BEEP
▄▄▄▌▐██▌█ -15LP DELIVERY
███████▌█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▌
▀(⊙)▀▀▀▀▀▀▀(⊙)(⊙)▀▀▀▀▀▀▀▀▀▀(⊙)\



\

He he he he I'm gonna draw dicks everywhere he he he he he⠀⠀⠀⠀⠀⠀

[–] [email protected] 8 points 5 days ago

Doing the Lord's work

[–] [email protected] 4 points 5 days ago

Still works better when encased with code block stuff, ```

[–] [email protected] 26 points 5 days ago (2 children)

ITT people realising what markdown is.

[–] [email protected] 16 points 5 days ago

One time on Reddit there was a whole thread dedicated to how awful and arbitrary and stupid the “undocumented” comment feature was.

I just linked the markdown docs and got downvoted to hell because “reading the manual is unintuitive”

Comments truly did kill that platform

[–] [email protected] 10 points 5 days ago (1 children)

M.A.G.I.C

Markdown's
Actually
Good
In
Comments

[–] [email protected] 2 points 5 days ago
[–] [email protected] 24 points 6 days ago (1 children)

This assumes your Lemmy client uses a good markdown library.

[–] [email protected] 17 points 6 days ago (1 children)

Yes, this assumes you're using a good Lemmy client

[–] [email protected] 16 points 6 days ago (2 children)

This assumes you're using a client.
Look behind you.

[–] [email protected] 13 points 6 days ago (1 children)

Imagine needing a client, real lemmings use the API directly with cURL

[–] [email protected] 8 points 6 days ago (1 children)

What colour are your programmer socks

[–] [email protected] 6 points 6 days ago

I don't have any TwT

Might buy them at some point to gain a 200% programming boost, and of course paired with a skirt.

[–] [email protected] 13 points 6 days ago (1 children)

OH YOUR GOD!
NO!
THE HORROR!

[–] [email protected] 30 points 6 days ago (1 children)
[–] [email protected] 2 points 5 days ago

How often do you get to use this awesome picture? =D

[–] [email protected] 11 points 5 days ago

Reddit was like that too.

Because the line break in markdown is two spaces.

Markdown is pretty great to work with.

[–] [email protected] 13 points 6 days ago (1 children)

This is standard markdown behavior. It was like this on reddit and many other places, too.

[–] [email protected] 3 points 6 days ago (1 children)

One of the things I don’t like about markdown. Carriage returns are just built into most languages now. I shouldn’t have to use double spaces (which put auto periods in on iOS and Android) or a slash to get the same effect. That’s counterintuitive.

[–] [email protected] 4 points 6 days ago (1 children)

It's a feature. The / means you can write your lines as long as you editor Windows is, but when someone rendering it as rtf they cannot just wrapper it any way they want. Doesn't matter if they're reading it in portrait view or landscape

[–] [email protected] 2 points 6 days ago (1 children)

I think word wrapping is automatically assumed is the default. I’m not aware of any rtf editors that don’t display wrapped as the default.

[–] [email protected] 2 points 5 days ago

I wrote out a whole massive reply that ended with 'and there's no real reason to break this...' and then I thought... But really? Actually there are so many form factors in which you can view Lemmy that 'pre-rendering' the line breaks makes basically no sense, and I can't think of many tools or typing habits that would otherwise introduce them

[–] [email protected] 8 points 5 days ago (1 children)

A simple search for lemmy markdown would tell you all the different textual options for a clean Lemmy comment/post

[–] [email protected] 9 points 6 days ago

I didn't know this, and I found it super helpful!
I also didn't know about backslashes
I just used double carriage returns like a wild savage!

Thanks very much :)

[–] [email protected] 5 points 6 days ago

Oh
My
God
This is awesome

[–] [email protected] 5 points 6 days ago

test
test

test

FUCK YEAAAAAHHH

[–] [email protected] 4 points 6 days ago* (last edited 4 days ago)

Cool discovery.

This post is a good resource for other Lemmy formatting tips and tricks.

I recently discovered that Lemmy’s desktop site shortens groups of more than 3 exclamation points and groups of more than 3 question marks in a row down to only 3, and that pairs of periods will be rounded up into an ellipses.

I’d like to see a community to help document all of the obscure formatting tricks and quirks for Lemmy.

Edit: You can apparently circumvent Markdown formatting by putting a backslash \ in front of the command to format. For example, if you wanted to start a line with the greater than symbol >, you can put the backslash \ in front of the greater than sign > to prevent the text from being formatted as a quote

[–] [email protected] 3 points 5 days ago

I always defaulted to a bullet list.
No more

[–] [email protected] 3 points 6 days ago

Yes. It's markdown. It's useful. You should read up on the basics.

[–] [email protected] 3 points 6 days ago* (last edited 5 days ago) (1 children)

You can also add a \ to the end
of the lines and have only single spaced
line breaks

Though I think they may break in one of the mobile apps with a funky markdown interpreter.

Edit: For clarity, here's the same lines in a codeblock

You can also add a \ to the end\
of the lines and have only single spaced\
line breaks

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago) (1 children)

Well, I think
That changes How I write some stuff

edit: the 2 white spaces didn't work
edit2: the white spaces have to be on the PREVIOUS line, not "behind", which I thought meant "start the line with 2 spaces"

[–] [email protected] 2 points 5 days ago

I edited my original to clarify. Thanks!

[–] [email protected] 3 points 6 days ago (2 children)

There once was a man from Nantucket
Who sold crabs from out of a bucket
He made seven pence
and took home the scents
He thought he'd become Warren Buffett

[–] [email protected] 3 points 6 days ago (1 children)

There once was a man from Nantucket

Who kept all his cash in a bucket

His daughter named Nan

Ran off with a man

And as for the cash, Nantucket

I couldn't get it to work.

[–] [email protected] 2 points 6 days ago (1 children)

I'm on sync and my formatting had to be

<Text [Space] [Space] [Enter] Text>

Dunno if it's an app thing or an instance thing

[–] [email protected] 3 points 5 days ago

I'm on sync as well. Also compounded by my phone auto typing the word with 2 spaces.

load more comments (1 replies)
[–] [email protected] 3 points 6 days ago (1 children)

It fights with some autocorrect (autoinsert?) of adding a period and deleting one of those spaces in some OSs. (depends on how rapid you type your spaces)

[–] [email protected] 5 points 6 days ago (3 children)

I hate that feature. It wastes more time than it saves.

load more comments (3 replies)
[–] [email protected] 2 points 5 days ago

Ok this was awesome. I wondered what I was doing wrong.

[–] lmmarsano 2 points 5 days ago* (last edited 5 days ago) (5 children)
load more comments (5 replies)
load more comments
view more: next ›