Is there a way to format block code using markdown on #qoto? 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.
@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
@trinsec @freemo @peterdrake *saw (until the Edit button comes)
Thats largely for your instance's software to decide. Gargron refused to render the markdownn, other clients might render it.
@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?
The markdown is passed onto other servers... its just mastodon explicitly drops it and any styling because gargron said he likes it that way.
@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.
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.