Write the JSON-formatted AST to a connection.
write.pandoc(json, file, format, exchange = c("arg", "file"))
a JSON representation of the AST to be written out
a connection object or a character string to which the JSON-formatted AST is written
a character string giving the format (e.g. "latex"
, "html"
)
a character string
If you want to apply a filter to the document before it get's written out, or your
pandoc installation is not registered in the PATH
it can be favorable to provide your
own writer function to the document class.