205
submitted 1 week ago by hamid@crazypeople.online to c/memes@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Edie@lemmy.ml 9 points 1 week ago* (last edited 1 week ago)

![alt text](it tries to make the URL into an image or something so make it more than one word)

[-] mathemachristian@lemmy.ml 8 points 1 week ago* (last edited 1 week ago)

wrongI think it's ![image title](image url "image alt text")

[-] Edie@lemmy.ml 9 points 1 week ago* (last edited 1 week ago)

No it is alt text in the square brackets and title in the quotations

[-] mathemachristian@lemmy.ml 16 points 1 week ago* (last edited 1 week ago)

lets test it

![PFLP poster](https://lemmy/ ml/pictrs/image/c09846dd-823e-4dc8-a486-f10a5696b620.webp?format=webp "PFLP poster that says 'Do you commend hamas?'")

PFLP poster

yeah you're right

<img src="https://lemmy.ml/pictrs/image/c09846dd-823e-4dc8-a486-f10a5696b620.webp?format=webp" alt="PFLP poster" title="PFLP poster that says 'Do you commend hamas?'">

could have sworn I saw it the other way around and thought it weird which is why I remembered it but apparently it's not like that...

[-] ferric_carcinization@lemmy.ml 7 points 1 week ago

But it shouldn't do that when enclosed in a code/preformatted block?

[-] Edie@lemmy.ml 7 points 1 week ago

It shouldn't but the markdown parser is for whatever reason not that good.

[-] ferric_carcinization@lemmy.ml 5 points 1 week ago

Looks like it's using markdown-it, a Rust port of a JavaScript library with the same name.

It looks unmaintained. Last commit is from 2 years ago and issues look inactive. (including one asking asking about the maintenance status)

[-] Edie@lemmy.ml 7 points 1 week ago

I believe the frontend uses markdown-it proper.

[-] ferric_carcinization@lemmy.ml 5 points 1 week ago

I think that it's the backend that screws the "url" up. Everything looks good in the preview, but the "url" part disappears upon publishing.

this post was submitted on 14 May 2026
205 points (90.8% liked)

Memes

55843 readers
1158 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 7 years ago
MODERATORS