So if syntax highlighting isn't a problem. The standard way of presenting block of code in Markdown is to indent it.
Which is quick and easy to understand.