Is there a way to format block code using markdown on ? Triple backticks don’t seem to work:

def mean(a, b):  sum = a + b  return sum / 2

@freemo
Markdown code needs some looking at, it’s got some bugs including this one.

@peterdrake

@trinsec @freemo @peterdrake Also, non-QOTO users will see this as plain text (without the markdown characters) - it would be ideal if they say the markdown rather than plain text

@s_gruppetta

Thats largely for your instance’s software to decide. Gargron refused to render the markdownn, other clients might render it.

@trinsec @peterdrake

@freemo @trinsec @peterdrake I see! It’s a shame that the raw markdown is not passed on to non-markdown servers

ยท ยท 3 ยท 0 ยท 0

@s_gruppetta

Oh no it is passed on to the server. your server just ignores it and drops it and refuses to render it.

@trinsec @peterdrake

@s_gruppetta @freemo @peterdrake I noticed that too. If markdown won’t render, at least keep the markdown adornments intact? What actually happens there for them to strip off the characters?

@trinsec

The markdown is passed onto other servers… its just mastodon explicitly drops it and any styling because gargron said he likes it that way.

@s_gruppetta @peterdrake

@freemo @s_gruppetta @peterdrake So all the markdown characters is purposely removed on mastodon.social?

@freemo @s_gruppetta @peterdrake That’s actually kinda the dumbest thing I’ve heard. Since markdown is still readable and you could infer intent.. I know I’m probably preaching to the choir here but damn.

@trinsec

Yup on other mastodon instances in general the markdown is stripped when they get it.

@s_gruppetta @peterdrake

I did start writing up a grease monkey script that would render markdown within mastodon on other instances. Though only works in the browser and as much as I see client based have their own render rules.

@freemo @trinsec @s_gruppetta @peterdrake

@freemo @trinsec @peterdrake should clarify that my instance is QOTO, but I hesitate to use markdown in my posts as many will not see the text formatted properly. So I often opt for plain text with markdown symbols

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.