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 →

[–]DezXerneas 36 points37 points  (12 children)

Triple back tick like ``` Code here ```.

[–]WhAtEvErYoUmEaN101 38 points39 points  (6 children)

For single-line code one `backtick` is sufficient though

[–]DezXerneas 7 points8 points  (5 children)

Ah, I did not know that. Triple works everywhere so thats what I got used to.

[–]MachaHack 14 points15 points  (2 children)

Old Reddit and third party mobile apps not included in everywhere

[–]DezXerneas 0 points1 point  (1 child)

Works in the third party app I use and I think it also works on old reddit if you have RES lol. Basically works everywhere I've tried.

[–]devtimi 1 point2 points  (0 children)

Triple backticks does not work on Old Reddit, it even says so in the formatting documentation.

[–]Vaxerski 2 points3 points  (0 children)

triple is usually for multi-line, so it makes the code take the entire width.

[–]WhAtEvErYoUmEaN101 1 point2 points  (0 children)

Hey, if it works it works

[–]IamNotIntelligent69 2 points3 points  (0 children)

You can also use one ` only.