The XML mode supports two configuration parameters htmlMode and alignCDATA. To learn more visit here. To view more languages visit here
Code Editor Theme
The code editor comes with different themes such as below. You can view more theme demos from the CodeMirror site by going here
AutoFormatting Of Code
Select a piece of code and click one of the links below to apply automatic formatting to the selected text or comment/uncomment the selected text. Note that the formatting behavior depends on the current block's mode.