code mirror integrated, documentation support added