How to put source code sample into the post
I'd like my users to be able to put source code samples inside posts on my web page - what is the best way to put code, maybe with coloring also...?
For example - when I try to put some C++ program I get first line ( [hash] include.....) wrongly "understood" by Vanilla... plus the line formatting is wrong...
using namespace std;
cout << "Hello world!" << endl;
Ps. This probably depends on WYSIWYG editor plugin on my page... I use CLEditor... What would be better in this case?