1165
Bird (lemmy.world)

you are viewing a single comment's thread
view the rest of the comments
[-] SomethingBurger@jlai.lu 50 points 1 week ago

URLs inside code fragments should not be clickable. This is a Markdown parsing error.

PieFed L

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

compare the rendering of the test output (which i also wrapped in backticks to tell the markdown rendering to render it as code) in my other comment on lemmy vs on piefed.

Essentially, it is not possible to reliably identify the URLs in code (in a language that is not known to either PyFedi or its markdown parser), because they sometimes are adjacent to otherwise-URL-valid characters which actually terminate the URL in whatever syntax is being used inside the code block. So, even though it is sometimes harmless to auto-linkify inside a code block, it is also often wrong and therefore should not be (and generally is not) done.

But also, code formatting should be available as a way to disable auto-linkification when a post or comment author wants to (as I did in my original comment).

Oh ok, I see

Thank you for explaining !

load more comments (1 replies)
load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 31 Jul 2025
1165 points (99.2% liked)

Science Memes

16173 readers
1991 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS