aboutsummaryrefslogtreecommitdiff
path: root/pandoc-server/README.md
blob: 5825be9f43d91cd58a2a3eb9c807c11baef474dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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](https://github.com/jgm/pandoc/blob/master/doc/pandoc-server.md)
in the pandoc source repository.

Example of use:

``` hs
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-2024 John MacFarlane ([email protected]). Released under the
[GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html "GNU General Public License"),
version 2 or greater. This software carries no warranty of any kind.
(See COPYRIGHT for full copyright and warranty notices.)