1165
Bird
(lemmy.world)
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
This is a science community. We use the Dawkins definition of meme.
URLs inside code fragments should not be clickable. This is a Markdown parsing error.
PieFed L
Why shouldn't they be ?
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 !