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

@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?

Follow

@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

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.