pandoc_to_json: Utility functions for testing filters
Description
Utility functions for testing filters
Usage
pandoc_to_json(file, from = "markdown")pandoc_from_json(json, to = "markdown", exchange = c("file", "arg"))
Arguments
- file
file name
- from
markdown, html, latex or native
- json
a JSON
representation of the AST
to be passed
to pandoc
- to
markdown, html, latex or native
- exchange
a character string