Files
pandoc/pandoc-server
John MacFarlane bd1d923b86 Split pandoc-server, pandoc-cli into separate packages. (#8309)
This also removes the unnecessary Setup.hs from pandoc.
Cabal does not need this with build-type 'simple'.
2022-09-22 09:47:07 -07:00
..

pandoc-server

pandoc-server is a Haskell library providing access to pandoc's document conversions as an HTTP server.

For a description of the API, see pandoc-server.md in the pandoc source repository.

Example of use:

module Main where
import Text.Pandoc.Server (app)
import qualified Network.Wai.Handler.Warp as Warp

main :: IO ()
main = Warp.run 3000 app

License

© 2006-2022 John MacFarlane (jgm@berkeley.edu). Released under the GPL, version 2 or greater. This software carries no warranty of any kind. (See COPYRIGHT for full copyright and warranty notices.)