Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 538 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 538 Bytes

Pandoc As A Service

If you need to convert text from one markup format into another, pandoc is your swiss-army knife.

Overview

Basically I wrapped Pandoc in a web service.

Installation

docker run -p 8080:8080 mrded/pandoc-as-a-service

The server will be available on http://localhost:8080

Conversion API

Pandoc As A Service has a simple to use HTTP API:

POST a text to http://localhost/:format

curl -H "Content-Type: text/markdown" -X POST -d "# hello" http://localhost/html