==============
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.
================
Aww sad :( Which client is this?
Reddit was like that too.
Because the line break in markdown is two spaces.
Markdown is pretty great to work with.
Ok this was awesome. I wondered what I was doing wrong.
Hey I posted this super secret hack yesterday or the day before here on Lemmers in a comment.
Line 1 Line 2
Line 3
Line 4
Line 5
Line 6Line 7
Line 8Edit: 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
Searching markdown guide & reading is free…
… implying this post isn’t. So how would you like to pay?
That’s a weird implication to suggest.
implying this post isn’t
Nope: not reading documentation is also free. Only costs more time.
So how would you like to pay?
Do you accept Rai stones? What’s the total? Payment plan available?
Reading documentation is not for “the average person”, only professionals and enthusiasts. Now, I know Lemmy has plenty of both, but its certainly not a given that someone is one of those. For “the average person” a post like this is much more practical.
Are you suggesting the documentation
For a line break, add either a backslash
\
or two blank spaces at the end of the line.with example
This is a\ line break.
& interactive exercises is harder to understand than your post?
Reading documentation is not for “the average person”
Your post is basically longer, less clear documentation: wouldn’t that take more effort for “the average person”?
You can also put a backslash before a newline, like this
Line1\ Line2\ Line3
Looks like this:
Line1
Line2
Line3Without the backslashes: Line1 Line2 Line3
With two newlines:
Line1
Line2
Line3
Also check out this Markdown tutorial , it’s very helpful.
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.
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.
Same, I actually do three spaces if you count the full-stop. (I didn’t count it)
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⠀⠀⠀⠀⠀⠀
Doing the Lord’s work
Still works better when encased with code block stuff,
```
ITT people realising what markdown is.
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
M.A.G.I.C
Markdown’s
Actually
Good
In
Comments#IKR
This assumes your Lemmy client uses a good markdown library.
Yes, this assumes you’re using a good Lemmy client
This assumes you’re using a client.
Look behind you.OH YOUR GOD!
NO!
THE HORROR!How often do you get to use this awesome picture? =D
Imagine needing a client, real lemmings use the API directly with cURL
What colour are your programmer socks
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.
This is standard markdown behavior. It was like this on reddit and many other places, too.
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.
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
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.
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
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 :)
A simple search for lemmy markdown would tell you all the different textual options for a clean Lemmy comment/post
Oh
My
God
This is awesometest
testtest
FUCK YEAAAAAHHH