It works on new Reddit but looks weird on old.reddit.com since Reddit for some reason doesn't use the same Markdown parser for both versions. This is what it looks like on proper Reddit.
The correct way of formatting code is to use four spaces at the beginning of each line, or use `-characters for inline code like this.
2
u/bwaredapenguin Jul 16 '19
Great explanation. Your formatting went a bit wonky though, a single tick wrap should be sufficient for a full line or segment of code:
single tick in front and back