Closed jaredlander closed 10 years ago
You actually don't need to use rstudio.markdownToHTML to call render. If you get the current preview release of RStudio (http://www.rstudio.com/ide/download/preview) then it will call rmarkdown::render by default.
Got the preview release and without using rstudio.markdownToHTML it worked great, including showing the equations in the Preview Pane. Thanks!
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
I have been experimenting with setting the
Knit HTML
button to userender
and seem to have it working to my liking. It nicely URI-encodes images and CSS while calling out to a script for mathjax (something pandoc alone does not seem capable of doing, as far as I can tell).When viewing the produced HTML file in Chrome, everything looks great, including equations. However, in the Preview HTML pane that opens after knitting (
Ctrl+Shift+H
) the equations are written as text. For some reason the mathjax equations are not rendering.A barebones Rmd file follows:
And my settings are:
Is this an issue with the Preview window or something else?