Zola provides built in syntax highlighting. It supports more than 100 languages. This example is in C++. All you have to do is wrap your code with three backticks and the language name:

	```c++
	int main(int argc, char const *argv[])
	{
		string myString;

		cout << "input a string: ";
		getline(cin, myString);
		int length = myString.length();
		
		char charArray = new char * [length];

		charArray = myString;
		for(int i = 0; i < length; ++i){
			cout << charArray[i] << " ";
		}
		
		return 0;
	}
	```

You'll get this nicely highlighted code block in return:

int main(int argc, char const *argv[])
{
	string myString;

	cout << "input a string: ";
	getline(cin, myString);
	int length = myString.length();
	
	char charArray = new char * [length];

	charArray = myString;
	for(int i = 0; i < length; ++i){
		cout << charArray[i] << " ";
	}
	
	return 0;
}