This may seem trivial, but is there away to indent documentation with tabs instead of spaces? Whenever you paste code from documentation, it shows an error and you have to delete the spaces and tab.
seriously you could just write something to replace spaces that come after a newline with a tab
ahh bugger I cant log into my google dev account to upload this but..
Heres a chrome plugin to let you copy and paste whilst stripping tabs for spaces. Its very rough around the edges but the codes there if you want to tweak it.