public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* pandoc-server
@ 2022-08-17 23:39 John MacFarlane
  0 siblings, 0 replies; only message in thread
From: John MacFarlane @ 2022-08-17 23:39 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

I’ve recently pushed some changes that allow pandoc to be used in “server mode.”  For documentation, see
https://github.com/jgm/pandoc/blob/master/doc/pandoc-server.md

Originally I developed this as a separate program, but it turned out to be more convenient to bake the necessary functionality into the main pandoc executable.  It will function as a web server when renamed (or symlinked) as pandoc-server, and as a CGI program when renamed (or symlinked) as pandoc-server.cgi. So, three programs for the price of one.  (This is similar to the way vimdiff and vim work.)

Surprisingly, adding all of this additional functionality only slightly increased the size of the linux executable.

If you want to try this out, you can find a linux build here:

https://github.com/jgm/pandoc/suites/7862377532/artifacts/333301102

John

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/D6778586-B4C0-4B92-940B-7C3FE19EC847%40gmail.com.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-17 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 23:39 pandoc-server John MacFarlane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).