Sometimes it makes sense to write answer in points, and include couple lines of code in one point. However, indenting with 4 spaces does not work for lists, and breaking list with no-list text causes list numbering to reset. Using apostrophes ` makes all lines of code to display as one line (or separate code blocks).
Is there a good way to do it?
Example:
a
b
first code
d
list break
second code
- e
third code line 1 third code line 2