Hey, imma just throw that in here. This is the code i use to call Pandoc from nodeJs. https://gist.github.com/BartzLeon/5e5f8fae907860b94033ac5d0affbfe2 raus...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org schrieb am Mittwoch, 25. August 2021 um 15:31:21 UTC+2: > Thanks for your reply! > > These options are perfectly fine, I was mainly wondering if I was missing > anything simple and/or obvious. > > My use case: Converting Markdown stored in files to HTML (one file at a > time). > > On Wednesday, August 25, 2021 at 3:29:13 PM UTC+2 DSt...-Jdbf3xiKgS8@public.gmane.org wrote: > >> On 8/25/21 4:57 AM, Axel Rauschmayer wrote: >> > I’d like to use Pandoc as a Markdown parser from JavaScript in Node.js. >> > I’m aware of the following options: >> > >> > * Running Pandoc as a shell script, providing input via stdin and >> > getting the output via stdout >> > * Running Pandoc via WebAssembly: >> https://github.com/y-taka-23/wasm-pandoc >> > >> > Any other tips or suggestions? >> >> What's wrong with those options and/or what are you trying to do? Any >> tips would be geared towards whatever issues you're trying to overcome. >> >> Daniel T. Staal >> >> -- >> --------------------------------------------------------------- >> This email copyright the author. Unless otherwise noted, you >> are expressly allowed to retransmit, quote, or otherwise use >> the contents for non-commercial purposes. This copyright will >> expire 5 years after the author's death, or in 30 years, >> whichever is longer, unless such a period is in excess of >> local copyright law. >> --------------------------------------------------------------- >> > -- 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/c2cf5da2-5020-4bb6-a17d-d28b6d61ab2dn%40googlegroups.com.