1158
Bird (lemmy.world)

you are viewing a single comment's thread
view the rest of the comments
[-] cypherpunks@lemmy.ml 9 points 4 days ago* (last edited 4 days 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 !

[-] cypherpunks@lemmy.ml 2 points 4 days ago

hmm, i see my first edit to this comment got federated to piefed but subsequent edits did not; the version after subsequent edits can be seen here on the lemmy instance i'm posting from

this post was submitted on 31 Jul 2025
1158 points (99.2% liked)

Science Memes

16080 readers
2651 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