@jschauma I use the mnemonic "Squaring [..] the circle (..)" to remember the order.. then I just have to remember whether it's the text or link first 🤦‍♂️

@benmeier_ @jschauma

Pas mal, comme astuce… mais oui, j’ai aussi ce problème d’ordre.

Ne serais-tu pas dyslexique, toi aussi ?

@Monolecte @benmeier_ @jschauma

I remember it because you cannot use ( or ) in an url, so it won't break the structure. But you can use it in the text (and it is more used than [ ])

@nartagnan @Monolecte @benmeier_ @jschauma you can use parenthesis in a URL, that's valid according to RFC 3986. Some webservers use them to preserve state in a URL, as show below

https://docs.roxen.com/(en)/roxen/1.3/creator/url/index.html

URL tags

@benmeier_ @jschauma I use the alphabet. Brackets before parentheses because b comes before p.

@jschauma I use editor shortcuts to help me not make this mistake.

I also noticed this one for VIM users: https://ryan-schachte.com/notes/vim_link_binding/

Easy Markdown link generation with VIM & VSCode

Simple binding hacks for optimizing your writing

@miketheman @jschauma

Avec #obsidian, on a une assistance à la rédaction : ça m’aide énormément et surtout pour les liens.

@jschauma How I remember it: [HERE'S A LINK!](https://my friend forgot to add the url, so here it is.com), like a parenthetical aside after a statement. 😅

@jschauma

Ah, mais ça me fait ça tout le temps !!!

Je me sens moins seule, d’un coup !!

@Monolecte @jschauma Same mood here.
@lebout2canap @Monolecte @jschauma I had the problem for a while, but I’m so addict to Markdown that it is not anymore the case… Practicing a lot is the best way do it right.

@FoucPerotin I have my share of decades under my belt, and I still sometimes confuse my right and my left. Sometimes training and repetition are not enough 😓.

@Monolecte @jschauma

@lebout2canap @FoucPerotin @jschauma

Yes, I know exactly what you mean: dyslixia is a lifelong condition.

@jschauma text goes on a [page], urls go through (cables)

@sqrt2 @jschauma even on Wifi? 😉

This is a good one, I think it will help me to remember the correct order.

@jschauma Maybe Textile had it right? https://textile-lang.com/doc/links
Links

Put straight quotation marks around the link text, followed immediately by a colon and the URL of the link.

Textile Markup Language
@jschauma Yeah I prefer gemtext for that
=> link and the description
@jschauma omg i thought it was just me
@jschauma I think of it like: link (what that actually is)
@dwnsdp @jschauma yeah, this is my mnemonic as well: [what shows up](what it really is)
@jschauma this was explained to me to treat [] as the function call and (link) as the argument. Never messed up since.
@jschauma Not a single picture on Fediverse has exposed me as much as this one
@jschauma “Square peg in a round hole”

@jschauma its quite simple really.

how do we treat links?

without markdown, you'd say:

Hey, look at google! (google.com)

so, with markdown, you say:

Hey, look at [google](https://google.com)

that's it!

Google

@jschauma i made up a stupid way to remember and now i remember every time
@tauon @jschauma please share the stupid way
@jschauma I picked up the mnemonic “curls for the URLs” and that works well for me!
@jschauma @josh really ought to be the right one as brackets manage a function.
@jschauma i just remember that it's the option that makes no sense and i get it right every time
@jschauma I legitimately get this right 100% of the time by having remembered that it's the options that makes the least logical sense to me
@jschauma it’s [text] (url) because the text is square like a tag or text box

@jschauma I remember them the same way I do port/starboard.

bracket : text
parenthesis : url

port : left
starboard : right

the first letter of each is in the same position - lowest letter, highest letter

@jschauma @quephird YES!!!!! EVERY. DAMN. TIME!!

@jschauma A friend of mine once told me that his magic trick to remember the order was that he came up with a silly song that went "🎵Markdown links are like arrays of functions🎵" -- I don't even know the melody but I never forgot those lyrics!

And to remember whether the text of URL goes inside the parentheses, here's a trick of my own: OF COURSE it's the choice that causes problems with Wikipedia links that have disambiguation like https://en.m.wikipedia.org/wiki/Kiss_(band)

You're welcome!!

Kiss (band) - Wikipedia

@hisham_hm @jschauma for me, the explanation @gruber gave here made me never forget it again: https://twitter.com/gruber/status/944045881363443712
John Gruber (@gruber) on X

@bcrypt My thinking when I created Markdown is that the [brackets] around the link text look like the rectangle of a hovered-over link rendered in the browser. Make sense?

X (formerly Twitter)
@diogomafra @jschauma @gruber I like my friend's song better 😆
@diogomafra @hisham_hm @jschauma @gruber I read that within a day of reading that brackets are before parentheses, alphabetically, so I can’t say which actually did it, but I haven’t forgotten since.

@diogomafra Copying @gruber’s tweet text here partly for anyone who doesn’t want to go over there, but mostly for my own reference:

“My thinking when I created Markdown is that the [brackets] around the link text look like the rectangle of a hovered-over link rendered in the browser. Make sense?”

@hisham_hm @jschauma Yeah it’s the “will this actually work with a Wikipedia link” anxiety that helped me remember the order as well!!
@jschauma [button](psst, btw it’s this)
@jschauma I have opposite problem now. I’m so used to using Markdown in everything that every other markup language fucks me up now, especially BBcode. xD

@jschauma I didn't comment on the `ln -s` version of this meme, because I make symlinks often enough that I've got that down (I also have my own makes-sense-to-me way of remembering it).

Links in markdown tho? Fuggeddaboudid. I avoid them. I just write out the URL and figure whoever sees it will figure it out, or if it's something like linear or notion, their backend will do it for me.

@jschauma There is no spec, use both! (RST FTW)
@jschauma took me a while to learn it's brackets and text first and round braces with url second.

Only learned it by remembering
![...] is for images and that appears first
@jschauma Hey, _my_ custom markdown does [text][url]. I've thought about other options, but none of the two in the image have ever been on the table.
@jschauma I have similar problems when writing Pod - is it L<text|URL> or L<URL|text>
then you don't use it enough ;-D
@jschauma a clear win for the org mode syntax. It's just [[url][text]].
Or was it [[text][url]]?
Oh crap
@jschauma I remember it as: You click on what looks like a [button](and link to source follows in parentheses, just like you would explain an abbreviation).
@teilweise @jschauma markdown was meant to be readable as-is. Many people put URLs in parentheses after some thing they mention, after, not before. I always thought it was pretty natural.
@jschauma My mnemonic is, "[] is for citations like [1][2][3] or [source]".

@niconiconi @jschauma without context I thought you are talking about intel syntax

anyway, consider movᵉᵃˣ ebx

@niconiconi @jschauma That one confused me so I guess it's my equivalent of how some people can't get the order of ln -s right.
@jschauma I always remember it that way: Brackets comes before Parenthesis → B comes before P
@jschauma i always do [url](text) the first time I do it in a long while 😂