How could I ever overlook this: syntax highlighting
Because of the nature of this blog, I tend to include a lot of linux commands into my articles. That’s just the way linux is, or at least for me. For obvious reasons, it is preferable that these linux commands stand out from everything else, to differentiate commands from normal text. For that I always used a self made code tag styled with a css entry. Nothing more, nothing less.
Over the passed few days I was looking for a better solution, i.e. to color the commands depending on what type of language the command belongs to, and stumbled upon wp-syntax. It’s everything I ever wanted to style my commands: it provides clean syntax highlighting, supporting a range of programming languages and more importantly, all the languages I program in. It’s also capable of numbering each line in case you have a bunch of bundled code. So now my wordpress installation is equiped with wp-syntax and right now I don’t even wanna think of all the linux commands in my postings I wil have to convert. I suppose I’ll start with the most popular posts and go from there.