* Processing multiple documents on stdin @ 2023-01-18 12:20 Björn Stenborg [not found] ` <f0452de0-6214-43fd-b090-de2fc81c3f2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Björn Stenborg @ 2023-01-18 12:20 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1074 bytes --] 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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. [-- Attachment #1.2: Type: text/html, Size: 1417 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <f0452de0-6214-43fd-b090-de2fc81c3f2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Processing multiple documents on stdin [not found] ` <f0452de0-6214-43fd-b090-de2fc81c3f2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2023-01-18 14:53 ` 'William Lupton' via pandoc-discuss 0 siblings, 0 replies; 2+ messages in thread From: 'William Lupton' via pandoc-discuss @ 2023-01-18 14:53 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw [-- Attachment #1: Type: text/plain, Size: 1985 bytes --] 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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 > <https://groups.google.com/d/msgid/pandoc-discuss/f0452de0-6214-43fd-b090-de2fc81c3f2an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAEe_xxiR8GyLo_pstw0jgvWyAwMvoD5mqdrZ9BKhMkK3TonfiQ%40mail.gmail.com. [-- Attachment #2: Type: text/html, Size: 2841 bytes --] ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-18 14:53 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-01-18 12:20 Processing multiple documents on stdin Björn Stenborg [not found] ` <f0452de0-6214-43fd-b090-de2fc81c3f2an-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2023-01-18 14:53 ` 'William Lupton' via pandoc-discuss
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).