View Source PhoenixPandoc.Pandoc (phoenix_pandoc v1.1.1)
A thin wrapper around the pandoc executable.
Pandoc must be installed on your system for this module to work.
Link to this section Summary
Functions
Convert a string between markup formats using pandoc.
List of readers supported by pandoc.
List of writers supported by pandoc.
Link to this section Functions
Convert a string between markup formats using pandoc.
parameters
Parameters
input
- The string to convert with pandocfrom
- The pandoc reader to parseinput
withto
- The pandoc writer for the output
When from
and to
are the same, the input is returned unmodified.
@spec readers() :: [String.t()]
List of readers supported by pandoc.
@spec writers() :: [String.t()]
List of writers supported by pandoc.