If you're prepared to consider using a custom writer, this thread might be of interest? https://groups.google.com/g/pandoc-discuss/c/ef5dZW2seco/m/k43zjcLiAAAJ

On Wed, 18 Jan 2023 at 12:20, Björn Stenborg <bjorn.stenborg-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Our toolchain needs to perform separate markdown -> HTML conversion using pandoc for a large number of table cells (for various reasons), which for some documents currently entails making thousands of calls to the pandoc binary.

It would be really nice to be able to stream multiple documents on stdin to pandoc and get separate outputs. This is not currently supported e.g. by passing a file separator control character? Are there any other ways to achieve this?

We could spin up pandoc as a web server but this would be fairly awkward and i assume come with some additional overhead that isn't really needed since it will just be used locally anyway.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f0452de0-6214-43fd-b090-de2fc81c3f2an%40googlegroups.com.

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAEe_xxiR8GyLo_pstw0jgvWyAwMvoD5mqdrZ9BKhMkK3TonfiQ%40mail.gmail.com.