From: "Agustín Martín" <agusmba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Run Pandoc on a web server
Date: Thu, 5 Oct 2017 12:36:40 -0700 (PDT) [thread overview]
Message-ID: <262da48a-6c39-4ee7-9d96-668f7445ad2b@googlegroups.com> (raw)
In-Reply-To: <c2625c79-7f4f-446f-a900-11ede02dd9f6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1559 bytes --]
Probably. You'd have an easier time using it as it is even if you executed
it on a web server, instead of adapting the js to your own web.
Reading the page you posted, it explains how to convert to docx.
I guess you'd need to enter text/html as source and /docx on the url for
conversion format.
I remember there was another server based on docker. You can see the
project at https://github.com/metal3d/docker-pandoc-server
It accepted tar files, so you could add images to your markdown/html source
for instance, but I didn't get to test it.
Good luck!
On Thursday, October 5, 2017 at 6:34:52 PM UTC+2, paul...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
>
> Can I use https://github.com/mrded/pandoc-as-a-service
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fmrded%2Fpandoc-as-a-service&sa=D&sntz=1&usg=AFQjCNFt-IZVWH6K1DRnOmY1yrt-PAOiiQ>
> to run pandoc on a web server, convert html to docx and download the docx
> file generated?
>
> How can I do it?
>
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/262da48a-6c39-4ee7-9d96-668f7445ad2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 2707 bytes --]
next prev parent reply other threads:[~2017-10-05 19:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 16:34 paulo7ca-Re5JQEeQqe8AvxtiuMwx3w
[not found] ` <c2625c79-7f4f-446f-a900-11ede02dd9f6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-05 19:36 ` Agustín Martín [this message]
[not found] ` <262da48a-6c39-4ee7-9d96-668f7445ad2b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-10-10 10:49 ` Saivan Hamama
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=262da48a-6c39-4ee7-9d96-668f7445ad2b@googlegroups.com \
--to=agusmba-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).