this post was submitted on 25 Jun 2023
86 points (100.0% liked)
pythonhelp
563 readers
1 users here now
A community for posts that include helping Python programmers
Discord:
https://discord.gg/39K88eCxxr
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was actively helping people (under a different name) with general python questions on r/learnpython also, and am keeping an eye on this community.
Note that lemmy is similar to reddit in that you want to mark your code blocks as code (using the code button or by indenting 4 spaces) to retain the formatting. Python can become pretty much unreadable without it since indentation is so critical to the language.
I believe you can use triple backticks too and just paste your code in the space between.
```
codes goes here
```
Example:
~~Fwiw the backquotes don't show as code on jerboa~~ I'm an idiot
They do for me...
They used backticks in a way that wouldn't show code the first time, to show the backticks. Then used it properly the second time, and you can see in your screenshot that it did appear as code.
Oh fuck me I'm an idiot
just checked, code markdown does work on memmy (which should have an android version as soon as google approves it)
Its working on thunder for me right now.
Likely a result of the markdown library they're using. Probably reach out in their community and they can find a solution. On desktop (where I assume most people are writing python) it does work
Backticks do work on Liftoff for android however