this post was submitted on 27 Apr 2025
187 points (97.9% liked)

Today I Learned

21534 readers
388 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
[–] x00z@lemmy.world 1 points 6 hours ago

Hey I posted this super secret hack yesterday or the day before here on Lemmers in a comment.

[–] AugustWest@lemm.ee 11 points 12 hours ago

Reddit was like that too.

Because the line break in markdown is two spaces.

Markdown is pretty great to work with.

[–] spykee@lemm.ee 25 points 14 hours ago* (last edited 14 hours 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⠀⠀⠀⠀⠀⠀

[–] abbadon420@lemm.ee 7 points 14 hours ago

Doing the Lord's work

[–] ICastFist@programming.dev 4 points 14 hours ago

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

[–] joe_archer@lemmy.world 24 points 16 hours ago (2 children)

ITT people realising what markdown is.

[–] prettybunnys@sh.itjust.works 12 points 15 hours 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

[–] abbadon420@lemm.ee 8 points 14 hours ago (1 children)

M.A.G.I.C

Markdown's
Actually
Good
In
Comments

[–] burgersc12@mander.xyz 8 points 14 hours ago (1 children)

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

[–] spykee@lemm.ee 5 points 14 hours ago
[–] lena@gregtech.eu 54 points 21 hours ago* (last edited 21 hours 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.

[–] victorz@lemmy.world 2 points 14 hours 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.

[–] kambusha@sh.itjust.works 7 points 20 hours 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.

[–] abbadon420@lemm.ee 2 points 18 hours ago

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

[–] billwashere@lemmy.world 2 points 12 hours ago

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

[–] slazer2au@lemmy.world 24 points 21 hours ago (1 children)

This assumes your Lemmy client uses a good markdown library.

[–] abbadon420@lemm.ee 16 points 21 hours ago (1 children)

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

[–] GrumpyDuckling@sh.itjust.works 17 points 21 hours ago (2 children)

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

[–] abbadon420@lemm.ee 13 points 21 hours ago (1 children)

OH YOUR GOD!
NO!
THE HORROR!

[–] GrumpyDuckling@sh.itjust.works 29 points 21 hours ago (1 children)
[–] Wrufieotnak@feddit.org 2 points 13 hours ago

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

[–] lena@gregtech.eu 10 points 21 hours ago (1 children)

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

[–] muntedcrocodile@lemm.ee 8 points 21 hours ago (1 children)

What colour are your programmer socks

[–] lena@gregtech.eu 6 points 20 hours 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.

[–] philthi@lemmy.world 9 points 19 hours 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 :)

[–] Bezier@suppo.fi 13 points 21 hours ago (1 children)

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

[–] QuarterSwede@lemmy.world 3 points 18 hours 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.

[–] abbadon420@lemm.ee 4 points 18 hours 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

[–] QuarterSwede@lemmy.world 2 points 17 hours 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.

[–] silasmariner@programming.dev 2 points 15 hours 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

[–] Aedis@lemmy.world 5 points 17 hours ago

Oh
My
God
This is awesome

[–] Gerudo@lemm.ee 3 points 16 hours ago

I always defaulted to a bullet list.
No more

test
test

test

FUCK YEAAAAAHHH

[–] Bishma@discuss.tchncs.de 3 points 17 hours ago* (last edited 16 hours 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

[–] ICastFist@programming.dev 2 points 17 hours ago* (last edited 17 hours 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"

[–] Bishma@discuss.tchncs.de 2 points 16 hours ago

I edited my original to clarify. Thanks!

[–] pineapplelover@lemm.ee 1 points 13 hours ago* (last edited 13 hours ago)

Line 1 Line 2

Line 3

Line 4

Line 5
Line 6

Line 7
Line 8

Edit: mm idk doesn't work for me

Edit: got it, so for example on "Line 5" you add 2 whitespaces at the end. Alternatively, on "Line 7" you can add a backslash \ at the end. I think I will use backslash

[–] SirSamuel@lemmy.world 3 points 18 hours 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

[–] Peppycito@sh.itjust.works 3 points 17 hours 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.

[–] SirSamuel@lemmy.world 2 points 17 hours 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

[–] Peppycito@sh.itjust.works 3 points 17 hours ago

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

[–] southsamurai@sh.itjust.works 1 points 15 hours ago

There once was a man from Nantucket
Whose dick was so long he could suck it
He said with a grin
As he wiped off his chin
If my ear was a cunt, I would fuck it

[–] Squorlple@lemmy.world 4 points 21 hours ago* (last edited 21 hours ago)
[–] Gikiski@fedia.io 3 points 20 hours 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)

[–] Bezier@suppo.fi 5 points 18 hours ago (2 children)

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

[–] SatyrSack@feddit.org 1 points 14 hours ago (1 children)

There is usually a setting you can change to disable that

[–] Bezier@suppo.fi 1 points 14 hours ago

Oh if my keyboard didn't let me disable this, it would stop being my keyboard very shortly.

[–] Gikiski@fedia.io 1 points 15 hours ago

I feel the same.

load more comments
view more: next ›