Closed mhmdmodan closed 6 years ago
Does this work with RStudio or regular R GUI? Last I checked knitr release didn't support Pandoc v2 yet. I think there's also some stupid stuff that can happen with assumed Pandoc paths in knitr/rmarkdown packages. There was a SO post about it a little while ago but I can't seem to find it.
We don't invoke Pandoc directly, we actually use rmarkdown
package, same as RStudio.
Slightly misleading, actually knitting to markdown itself looks like it works fine, but converting with pandoc to HTML is what raises the issue. Works fine for word. Seems in pandoc 2.x, the argument --smart has been removed in favor of +smart/-smart.
Here's the full error when knitting to HTML:
This can be remedied in the RMD however by setting smart to false in the header.
Knitting/conversion works fine with pandoc 1.19.2.1