My research group uses a WordPress blog. Frequently I want post snippets or even entire short programs I’ve been working on to it, with most of my code being written in C/C++ or scripting languages (Bash, TCL, etc).
I figure that there have to be some good extensions to WordPress to colorify code since so many people use it. I’m looking for something similar to StackOverflow’s colorizing system, though I realize it may not be quite as robust!
Can you point me to some of your favorites/the ones you think are most reliable?
Thanks in advance!
This was the first I investigated when I started a WordPress blog. You can use WordPress’
sourcecodeshortcode, as exemplified here. It requires JavaScript on the client side (otherwise it renders as just preformatted text).Cheers & hth.,