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

@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
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.