/pandoc-as-a-service

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

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

Pandoc As A Service

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

Overview

Basicaly I wrapped Pandoc in a web service.

Installation

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

The server will be avaliable 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