Skip to content

orhantoy/dokuman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doküman

Doküman is a web server that can convert your Markdown into PDF files — useful for producing decent looking API docs and more.

API

POST /api/pdf converts Markdown to a PDF file.

Parameters

  • markdown (required): the Markdown content.
  • title (optional): title of HTML page.

Run

A Vagrantfile is included in this repo and probably provides the easiest way to get the server up and running. Start server from Vagrant box:

vagrant up
vagrant ssh
cd /vagrant
nvm install
npm install
node app.js

Now we are ready to use the server:

# From your local machine
curl --data-urlencode "markdown@./README.md" \
  http://localhost:8080/api/pdf > README.pdf

About

Doküman, a Markdown to PDF converter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published