public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* markdown string to HTML
@ 2019-05-04  6:28 vijaykd-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <756e9b96-c7d5-4f42-820f-1e1ed257b5fb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: vijaykd-Re5JQEeQqe8AvxtiuMwx3w @ 2019-05-04  6:28 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 793 bytes --]

Hi,

I have set of markdown text written in HTML textarea, I am trying to 
convert this text to HTML format and save it my server. 
Is there any Pandoc API or can I do it locally from HTML code itself 
directly?

Thanks!

-- 
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/756e9b96-c7d5-4f42-820f-1e1ed257b5fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1262 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: markdown string to HTML
       [not found] ` <756e9b96-c7d5-4f42-820f-1e1ed257b5fb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-05-04 20:33   ` John MacFarlane
  0 siblings, 0 replies; 2+ messages in thread
From: John MacFarlane @ 2019-05-04 20:33 UTC (permalink / raw)
  To: vijaykd-Re5JQEeQqe8AvxtiuMwx3w, pandoc-discuss


If your server is written in Haskell, you can use
pandoc as a library
https://pandoc.org/using-the-pandoc-api.html

Or you can create a small Haskell server that
serves an API you can query from JavaScript.

vijaykd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:

> Hi,
>
> I have set of markdown text written in HTML textarea, I am trying to 
> convert this text to HTML format and save it my server. 
> Is there any Pandoc API or can I do it locally from HTML code itself 
> directly?
>
> Thanks!
>
> -- 
> 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/756e9b96-c7d5-4f42-820f-1e1ed257b5fb%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-05-04 20:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-04  6:28 markdown string to HTML vijaykd-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <756e9b96-c7d5-4f42-820f-1e1ed257b5fb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-05-04 20:33   ` John MacFarlane

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).