I've added codes highlighting, used some files from default theme "landscape", and import those files into 'theme-styles.styl'
Then we can enable highlighting in '_config.yml' (in the root of blog directory). And we don't need to use code blocks, just write codes following for example:
# include <iostream>
using namespace std;
int main()
{
    cout<<"Hello world!"<<endl;
    return 0;
}
And it will display:
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello world!"<<endl;
return 0;
}
I've added codes highlighting, used some files from default theme "landscape", and import those files into 'theme-styles.styl'
Then we can enable highlighting in '_config.yml' (in the root of blog directory). And we don't need to use code blocks, just write codes following for example:
And it will display: