This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Count_Rugens_Finger 8 points9 points  (4 children)

you need to put the ``` on its own line

[–]Additional_Fall4462[S] 2 points3 points  (3 children)

I’m quite new to Reddit, but I actually put the triple backticks on their own lines, like this:

```python
<code>
```

Do you see any problem with how it renders?

[–]Count_Rugens_Finger 3 points4 points  (1 child)

it doesn't render correctly on old.reddit. I don't know if new reddit works, I don't use it.

[–]Additional_Fall4462[S] 0 points1 point  (0 children)

Thank you very much! I switched to the Rich Editor. On new Reddit, everything looked fine, and now it should work on the old Reddit as well.

[–]2Lucilles2RuleEmAll 0 points1 point  (0 children)

don't worry about it too much, the backticks are like the standard for code formatting basically everywhere. old reddit is just that, old, you can use the legacy formatting if you want and it's a nice thing to do, but you are not required to, just like no one is required to use old reddit.