* Running Pandoc via JavaScript? @ 2021-08-25 8:57 Axel Rauschmayer [not found] ` <8f9a1732-06bc-446d-a566-005a4f1ab9f7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Axel Rauschmayer @ 2021-08-25 8:57 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 759 bytes --] 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? -- 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/8f9a1732-06bc-446d-a566-005a4f1ab9f7n%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 1061 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <8f9a1732-06bc-446d-a566-005a4f1ab9f7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Running Pandoc via JavaScript? [not found] ` <8f9a1732-06bc-446d-a566-005a4f1ab9f7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-08-25 13:29 ` Daniel Staal [not found] ` <5d75f991-ac8c-ef59-97ba-5edfc0adb57e-Jdbf3xiKgS8@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Daniel Staal @ 2021-08-25 13:29 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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/5d75f991-ac8c-ef59-97ba-5edfc0adb57e%40usa.net. ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <5d75f991-ac8c-ef59-97ba-5edfc0adb57e-Jdbf3xiKgS8@public.gmane.org>]
* Re: Running Pandoc via JavaScript? [not found] ` <5d75f991-ac8c-ef59-97ba-5edfc0adb57e-Jdbf3xiKgS8@public.gmane.org> @ 2021-08-25 13:31 ` Axel Rauschmayer [not found] ` <8cff6ffd-e85f-4937-a57c-b23093b72bben-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Axel Rauschmayer @ 2021-08-25 13:31 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 1800 bytes --] 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/8cff6ffd-e85f-4937-a57c-b23093b72bben%40googlegroups.com. [-- Attachment #1.2: Type: text/html, Size: 2699 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <8cff6ffd-e85f-4937-a57c-b23093b72bben-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>]
* Re: Running Pandoc via JavaScript? [not found] ` <8cff6ffd-e85f-4937-a57c-b23093b72bben-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> @ 2021-08-26 12:43 ` Leon Bartz 0 siblings, 0 replies; 4+ messages in thread From: Leon Bartz @ 2021-08-26 12:43 UTC (permalink / raw) To: pandoc-discuss [-- Attachment #1.1: Type: text/plain, Size: 2129 bytes --] 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. [-- Attachment #1.2: Type: text/html, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-26 12:43 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-08-25 8:57 Running Pandoc via JavaScript? Axel Rauschmayer [not found] ` <8f9a1732-06bc-446d-a566-005a4f1ab9f7n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-08-25 13:29 ` Daniel Staal [not found] ` <5d75f991-ac8c-ef59-97ba-5edfc0adb57e-Jdbf3xiKgS8@public.gmane.org> 2021-08-25 13:31 ` Axel Rauschmayer [not found] ` <8cff6ffd-e85f-4937-a57c-b23093b72bben-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 2021-08-26 12:43 ` Leon Bartz
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).