Write the JSON-formatted AST to a connection

Share:

Description

Write the JSON-formatted AST to a connection.

Usage

1

Arguments

x

a JSON representation of the AST to be written out

con

a connection object or a character string to which the JSON-formatted AST is written

format

a character string giving the format (e.g. "latex", "html")

Details

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.