I’m patching up a few small dings and cracks that happened while moving my Wordpress blog over here.
That move happened following directions posted here* and it probably would have been completely uneventful, had my blog entries been strictly prose and hyperlinks. But they have some code blocks – some of them in Stata, for which there is no Pygments lexer – and some LaTeX, which is not supported by default.
You fix the LaTeX bit by turning on MathJax support. I followed Christopher Poole’s instructions with two small tweaks:
<head>section that you stick on top of the page where you’ll be using math, because you can mix html with Markdown in a pinch. I just put it in
_includes/head.html, so it would be available everywhere.
- I didn’t change my markdown from
_config.ymlfile. I mean I did at first, but I switched back because
kramdownmangled all my code blocks.