jimhester / knitrBootstrap

A framework to create bootstrap styled HTML reports from knitr Rmarkdown.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MathJax Doesn't work.

Black-Milk opened this issue · comments

I'm using Rstudio. I've all the latest versions of knit, rmarkdown, and knitrbootstrap. This is what I get when I type $$y=x$$:

Via Knitr Bootstrap

screen shot 2014-08-08 at 4 18 41 am

It's supposed to rendered via mathjax and be centered, like in the picture below:

Via Standard Knitr HTML
screen shot 2014-08-08 at 4 17 21 am

How do I fix this, or is this a bug??

The default MathJax options for this package are different than the defaults set by rmarkdown, so it is expected that these differ. This will get fixed when knitrBootstrap is refactored to use the html template, which I am planning to do soon.