If you’re running some kind of a blog wherein you need to post source codes, snippets and stuff, you could run into problems. Now, this blog uses a plugin called SyntaxHighlighter. You can simply download and install the plugin as any other WordPress plugin, and you’re ready to post source codes.
You just need to enclose your source code inside ‘sourcecode’ BB Tag, also specifying the language (the instructions explain this), and you’re done. One good thing about this plugin is that the rendering is javascript based, so your server needn’t take great amount of load to get syntax highlighted.
Fortunately, you don’t even need to HTML encode your source code. Remember to disable your Visual Editor for best results. I don’t think the plugin specifies this, but after my bad experiences with it, I’ll think 100 times before switching it on.
Lastly, here’s an example of how it’d look,
#include <iostream>
int main()
{
cout<<"It's working, isn't it?";
return 0;
}
Have a happy time blogging codes!
Using internet is simple as hell. But I can tell y ou right now, it can be very hard, if you are the first time user.
So, first thing I suggest – open the Explorer, and type in the address you like.
You’ll get there really fast, it depends on your connection speed.
Good luck.
Say saying hi to you guys!