Use Code Styles if Possible
Following recognized standards is advice often repeated in UX and this is no exception.
Developers and software engineers are familiar with styles that display code as they can often be found in the documentation they frequently reference:
O'Reilly Books (Python)
Stack Overflow (Java)
Each example includes ...