Skip to content

How to use pandoc-server on MacOS #9843

Answered by tarleb
guanpengchn asked this question in Q&A
Discussion options

You must be logged in to vote

The correct invocation would be

curl -H 'Content-Type: application/json' \
    --data-raw '{"from":"html", "text":"<h1>My headline</h1>","to":"markdown"}' \
    --X POST \
    http://localhost:3030/

See the pandoc-server manpage.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by guanpengchn
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants