I use a Jekyll based blog and need a markdown parser that won't clobber my Mathjax expressions (for instance, interpreting b_t - b_{t-1}
as b<em>t - b</em> t - 1
). Mathjax and markdown get along nicely over on math.stackechange.com and mathoverflow.net. Some parsers also need to double escape the begin/end equation symbols \\(
, while it seems others do not.
Things that aren't quite solutions:
Redcarpet2 has an option for no_intra_emphasis
, which avoids underscores between letters being clobbered, so b_t
is okay, but it still clobbers b_{t-1}
.
There's a Jekyll plugin that lets you use liquid syntax, like {% m}%
to begin an equation, but this means the file is no longer written in pure markdown and thus not portable to other contexts.
So is there a different markdown interpreter I can drop into Jekyll and experience bliss? If not, what workarounds have others found?