diff options
Diffstat (limited to 'man/pandoc.1')
| -rw-r--r-- | man/pandoc.1 | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/man/pandoc.1 b/man/pandoc.1 index 077f2412a..b609b5858 100644 --- a/man/pandoc.1 +++ b/man/pandoc.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pandoc 2.18 +.\" Automatically generated by Pandoc 2.19 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. @@ -14,7 +14,7 @@ . ftr VB CB . ftr VBI CBI .\} -.TH "Pandoc User\[cq]s Guide" "" "August 3, 2022" "pandoc 2.19" "" +.TH "Pandoc User\[cq]s Guide" "" "August 18, 2022" "pandoc 2.19.1" "" .hy .SH NAME pandoc - general markup converter @@ -7960,6 +7960,20 @@ and the timestamp will be taken from it instead of the current time. Some document formats also include a unique identifier. For EPUB, this can be set explicitly by setting the \f[V]identifier\f[R] metadata field (see EPUB Metadata, above). +.SH RUNNING PANDOC AS A WEB SERVER +.PP +If you rename (or symlink) the pandoc executable to +\f[V]pandoc-server\f[R], it will start up a web server with a JSON API. +This server exposes most of the conversion functionality of pandoc. +For full documentation, see the pandoc-server man page. +.PP +If you rename (or symlink) the pandoc executable to +\f[V]pandoc-server.cgi\f[R], it will function as a CGI program exposing +the same API as \f[V]pandoc-server\f[R]. +.PP +\f[V]pandoc-server\f[R] is designed to be maximally secure; it uses +Haskell\[cq]s type system to provide strong guarantees that no I/O will +be performed on the server during pandoc conversions. .SH A NOTE ON SECURITY .IP "1." 3 Although pandoc itself will not create or modify any files other than |
