phoenix_pandoc v1.0.0 PhoenixPandoc.Pandoc View Source

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

Link to this function convert(input, from, from) View Source
convert(String.t(), String.t(), String.t()) :: String.t()

Convert a string between markup formats using pandoc.

Parameters

  • input - The string to convert with pandoc
  • from - The pandoc reader to parse input with
  • to - The pandoc writer for the output

When from and to are the same, the input is returned unmodified.

List of readers supported by pandoc.

List of writers supported by pandoc.