How to make pandoc md to xelatex conversion understand that the code structure is within an enumeration list. The minimal code I've got in my markdown file.
* Test your code
* Don't use structures like this
```cpp
//Bad structure
//More bad structures
```
As this will cause problems.
This code correctly displays on github with the code being properly indented with respect to the list. But using a relatively simple
pandoc --latex-engine=xelatex README.md -o test.pdf
makes a mess out of it. The best thing I achieved it to actually display the code with breaking of enumeration. My other attempts would usually break the code display.