This question already has an answer here:
In the Markdown help it says that you need to
Indent four spaces to create an escaped block
This however does not work. In a comment I wrote XML with 4 spaces indentation, plus a language definition. This is the actual text:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml"> <title>De mægtige vikinger</title> <defs> <xhtml:link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> </defs> </svg>
Also, spaces for indentation counts as characters. Meaning you can write more code if you don't bother formatting it. This is counter intuitive to have easy to read and accessible comments.
The resolution should be to implement a robust code formatter and not count formatting instructions in the sum of how many characters a user can write.
UPDATE All answers up till now has been misleading. Please follow the links and check the support page. It might also help to read the comment discussed to see why it's relevant and can not be inline.