How to syntax highlight XML in reStructuredTest / Sphinx

What is the proposed way to add xml to Sphinx / reST so that it displays correctly in the generated document.

+5
source share
1 answer

I thought for myself. We should use the code block directive with "xml" as the value

+4
source

All Articles