Call pandoc("pander_test.md", format = 'slidy')
, and use the configuration
<!--pandoc
s:
o: pander_output_slidy.html
-->
Frage
I cannot find any thorough description of how to define configuration file for a document conversion with the knitr
package pandoc()
function. I do know this document by YIHUI XIE, but still find it difficult to receive an equivalent of the following Pandoc commandline call:
pandoc -t slidy -s pander_test.md -o pander_test_slidy.html
in R
. I tried (with the configurations embedded in my .md
file):
<!--pandoc
t: slidy
s:
o: pander_output_slidy.html
-->
And the R
console said:
> pandoc("pander_test.md")
executing pandoc -t slidy -s -o pander_output_slidy.html -f markdown -t html -o pander_test.html "pander_test.md"
[1] "pander_test.html"
Which:
HTML
, not slides as I would like to).Any suggestions / references? Thank you in advance for any help.
Lösung
Call pandoc("pander_test.md", format = 'slidy')
, and use the configuration
<!--pandoc
s:
o: pander_output_slidy.html
-->