I'm writing a guide and putting in code examples. If I use the visual editor the code indentation is lost. It will also take some code and strip it out. If I use the text editor I can't ever useswitch to the visual editor again or the formatting and markup is lost.
The visual editor will also take some code and strip it out. This doesn't happen in other editors like Discourse.
I'm using Geishi syntax highligher.
Is there anyway to prevent this?