How to include java or xml code in a post or reply?


#1

I have looked around, but so far no luck.


#2

You can use markdown formatting when posting here. Take a look at this documentation: http://commonmark.org/help/

if you want to format code, use the ``` character three times.