Recently I wrote a post for my programming blog that included both mathematical formulas and actual code. It got me thinking about the fact that most of my readers here might need to do the same.
Those of you who use WordPress will probably know that there are countless plugins to achieve just that. That in and of itself is a problem, however. Which plugins do you choose?
For mathematics, you can visit:
and activate Beautiful Math in JetPack from there. You’ll need JetPack, of course, but I recommend you install it regardless of this feature, as it houses many useful features.
At that point, you’ll be able to embed mathematical formulas by specifying code between [ latex ]xn + yn = zn[ /latex ] tags (without the surrounding spaces of course).
For code syntax highlighting, I like to use the plugin Crayon Syntax Highlighter.
You can see what its output looks like in the post I mentioned above.
I realize not everyone uses WordPress, but I thought I’d share a quick and handy tip here today for those who do.