scholdoc(see scholarlymarkdown.com ) is a fork pandocthat has! FINALLY! easy binding of figures / code blocks, etc., built-in - the central missing element c pandoc.
Is there any direct way to force use scholdocinstead of sent binary pandocwhen using knitr/ rmarkdownin rstudio?
When I installed in .Rprofile
options(
rstudio.markdownToHTML = function(inputFile, outputFile) {
system(
paste(
"~/.cabal/bin/scholdoc",
shQuote(inputFile),
"-o", shQuote(outputFile)))
})
as stated here , this seems to work, but since it lacks all of the command line options used internally pandoc, it is out HTMLof the box and will lead me to the painful way of getting all the CLI interface options.
rmarkdown, RSTUDIO_PANDOC, scholdoc - .
- rstudio/scholdoc?