Skip to content
If you need to convert text from one markup format into another, pandoc-as-a-service is your swiss-army knife.
JavaScript HTML Dockerfile
Branch: master
Clone or download

Latest commit

Latest commit 6b2d622 Nov 11, 2018

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public/js Add online preview. Jul 14, 2015
tests Add tests, and exclude some formats. Jun 29, 2015
views update title Jul 19, 2015
.gitignore Add gitignore Jun 23, 2015
Dockerfile Improve caching Nov 11, 2018
LICENSE Add GPL 2 LICENSE. Jun 24, 2015
Procfile Add Procfile Jun 24, 2015
README.md Merge pull request #8 from jawn/patch-2 Oct 25, 2017
helpers.js Change API format. Get document format from header. Jun 29, 2015
index.js Refactor. Jun 24, 2015
package.json Change API format. Get document format from header. Jun 29, 2015
server.js Refactor server. Jul 14, 2015

README.md

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
You can’t perform that action at this time.