From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/29125 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Axel Rauschmayer Newsgroups: gmane.text.pandoc Subject: Re: Running Pandoc via JavaScript? Date: Wed, 25 Aug 2021 06:31:21 -0700 (PDT) Message-ID: <8cff6ffd-e85f-4937-a57c-b23093b72bben@googlegroups.com> References: <8f9a1732-06bc-446d-a566-005a4f1ab9f7n@googlegroups.com> <5d75f991-ac8c-ef59-97ba-5edfc0adb57e@usa.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_794_539257332.1629898281231" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5940"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDYNJWVNWQLBBLEMTGEQMGQEAXGTDTQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 25 15:31:27 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f58.google.com ([209.85.210.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mIt02-0001IR-VV for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 25 Aug 2021 15:31:26 +0200 Original-Received: by mail-ot1-f58.google.com with SMTP id y6-20020a0568302a0600b00518b08df4d2sf14755730otu.13 for ; Wed, 25 Aug 2021 06:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=dA7rx0F5hlB8nlSXlQULHrLHY53+OHbHYVETR0lI+Go=; b=XLBLvkFkPjX4sebKZNpWnnXpTXZIVTCV+qUbILfCvTmY0QQPaxJh2GOVNB7jRUlv/F LBlQr9PMnqcUUNuBPe3zcfXRZDqJl2IcgAsLFX1xLqLdTbhn7GqQ6bqQ+y5/q1XwuYg2 1dhLEKSasWU1xa/Hj4PKhQ/jDGwps3wNm4TjT+5qgeZIa1X0LIoD7BW6FNyFiiI7YR6b j8+ZRt51pRe26GMxqbYnnhwfdOyb8BuZu/FF2P81PVeTS4kGYnus7tMe9SgEjoeRaPUS eYaJidfrE5bsglErtaRFEsV8alqYCpXOuSxdO25NfRHyTKJ6NqQYjAo8xMnEIAWrEYE1 pJSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=dA7rx0F5hlB8nlSXlQULHrLHY53+OHbHYVETR0lI+Go=; b=c8nL6s9mq0WE3QgykwdKDYG3+hC6/3KlPVuMNZ76J/UQY0RHEG8lZCx70pufTzh7OI JiJFE0yMAwCpn/jpEHwENTig5YV69kUq9dnVttwvHf/0FBUs2L3O0cR2S+diYOCqwfpX lxRKdHAQyL+bmgXiVii+RkiIT8VSxsZ3k/sA+vETojXr5z4SMBqU3WbJUVHrBP9za5CG utw4qVqZRk2jxOHNEZNvFOzznur5behLyqmwaeeEy/tbFfnUSWyGmTqzwnCiNyRBVoF4 OZ0itxm7K0yfUlujp+TIFwJ5U7uymSTS1rtobANFCfo5txUg0P5zoCv6SQAZnLrJbTRa 4HXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=dA7rx0F5hlB8nlSXlQULHrLHY53+OHbHYVETR0lI+Go=; b=MOg0gwzpH39FjNekl85D6y1ygqNF5SQrpKx6qJUvHPyQLxfQWlqKqnwHasY0oBPWB8 gpKgG8Xmo2TfoQGegfxrsFxQVg4Iaj7P+Cc4UXIkYTPhwP0bJyAh7NKF/+ttnoBJqa+t jMwnfYkJL2qZ4R7WXm6WXxq8r1D9ReMHNLmdVRmD/CFFAAMVCIL+ZZmCTsKnT4708+4g c3OlMzy/Qimi6fLe1lsIyLaY7F5El+En3jzCtAdkgWBx8vLMcHbPl0k/WReDuZ7H87EL qVtODVoW5/VM5jEMTFoEhdZq1WMkSga/3ehyFl4b8cd/syIkn3DYhCaODL/VY0w3zUru k3og== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531sOxfH+vRfVwIuDao1l0xHDB+CxIixX69yeinRolHbbJYXfBE6 aELakrIlSiw4x4UxvSu8Ri0= X-Google-Smtp-Source: ABdhPJzWNo9z39hZ0Bt2ZbPIFMWPHQ1U37k/HFKIykhg/cg8kIZ92ilqKCIEyCugEkNwz8bF3dRrPQ== X-Received: by 2002:a54:4389:: with SMTP id u9mr6748722oiv.132.1629898285419; Wed, 25 Aug 2021 06:31:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:649a:: with SMTP id g26ls568690otl.1.gmail; Wed, 25 Aug 2021 06:31:22 -0700 (PDT) X-Received: by 2002:a9d:7dd5:: with SMTP id k21mr36455345otn.54.1629898281841; Wed, 25 Aug 2021 06:31:21 -0700 (PDT) In-Reply-To: <5d75f991-ac8c-ef59-97ba-5edfc0adb57e-Jdbf3xiKgS8@public.gmane.org> X-Original-Sender: rauschma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:29125 Archived-At: ------=_Part_794_539257332.1629898281231 Content-Type: multipart/alternative; boundary="----=_Part_795_116646079.1629898281231" ------=_Part_795_116646079.1629898281231 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for your reply! These options are perfectly fine, I was mainly wondering if I was missing= =20 anything simple and/or obvious. My use case: Converting Markdown stored in files to HTML (one file at a=20 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=E2=80=99d like to use Pandoc as a Markdown parser from JavaScript in = Node.js.=20 > > I=E2=80=99m aware of the following options: > >=20 > > * Running Pandoc as a shell script, providing input via stdin and > > getting the output via stdout > > * Running Pandoc via WebAssembly:=20 > https://github.com/y-taka-23/wasm-pandoc > >=20 > > Any other tips or suggestions? > > What's wrong with those options and/or what are you trying to do? Any=20 > tips would be geared towards whatever issues you're trying to overcome. > > Daniel T. Staal > > --=20 > --------------------------------------------------------------- > 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. > --------------------------------------------------------------- > --=20 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 e= mail 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. ------=_Part_795_116646079.1629898281231 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks for your reply!

These options are perfectly= fine, I was mainly wondering if I was missing anything simple and/or obvio= us.

My use case: Converting Markdown stored in files to = HTML (one file at a time).

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to
pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@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.
------=_Part_795_116646079.1629898281231-- ------=_Part_794_539257332.1629898281231--