diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-08-15 23:16:50 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-08-15 23:16:50 -0700 |
| commit | f46e70d4b0588fe6fe5c090ab38353c0d49e68aa (patch) | |
| tree | b7588dbf2b66f8a6ef5f621ae9338514f15c6eec | |
| parent | e7fa9c4c232c8411b1b118cd0f78d5d2aeec52e3 (diff) | |
Small improvements to pandoc-server.md.
| -rw-r--r-- | server/pandoc-server.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/server/pandoc-server.md b/server/pandoc-server.md index 9d6624c29..205d6b710 100644 --- a/server/pandoc-server.md +++ b/server/pandoc-server.md @@ -15,6 +15,21 @@ conversions. It can be used either as a running server or as a CGI program. To use `pandoc-server` as a CGI program, rename it as `pandoc-server.cgi`. +All pandoc functions are run in the PandocPure monad, which +ensures that they can do no I/O operations on the server. +This should provide a high degree of security. It does, +however, impose certain limitations: + +- Resources cannot be fetched via HTTP. + +- PDFs cannot be produced. + +- Filters are not supported. + +- Any images, include files, or other resources needed for + the document conversion must be explicitly included in + the request, via the `files` field (see below under API). + # OPTIONS `--port NUM` @@ -67,6 +82,7 @@ values. specified on the pandoc command line. + ``` TODO wrapText :: Maybe WrapOption columns :: Maybe Int |
