Convert Markdown to PDF API Demonstration


This tool demonstrates DocumentAlchemy's ability to generate a professional-quality PDF document from Markdown content.

Use the field below to upload the Markdown file you'd like to render as a PDF document.

Then click the “Submit” button to create, view and download the PDF file.

This parameter is simply the Markdown file you'd like to convert to PDF. In the full API you may choose to support or ignore specific Markdown or extended-Markdown features.

Choose a Markdown Document.

This parameter controls size and shape of the paper for which the PDF is formatted. In the full API you may choose other sizes in addition to A4 and US-Letter.

This parameter controls the distance between edge of the page and the “printed” content. Using the full API you can do things like control the top, left, bottom and right margins independently or choose arbitrary rather than pre-set values.

When this option is selected a page number will be printed in the footer of each page. With the full API you have more control over the placement and format of the page numbers.

When this option is selected the first page of the document will not contain a page number or footer. This option also controls other formatting options in the full API.

This demonstration only exposes a fraction of the capabilities of the underlying API.

Using the full DocumentAlchemy API you can:

  • take control of the PDF layout and formatting when generating a PDF from Markdown,
  • convert Markdown files to Microsoft Word, HTML and other formats in addition to PDF,
  • convert PDF, HTML and Microsoft Word documents to Markdown-formatted text files,
  • convert Word, Excel, PowerPoint, HTML and more document types to PDF,

and much more.

Visit the interactive API reference to learn more about DocumentAlchemy's support for rendering a Markdown document as a PDF and other document processing methods.

Instantly add Microsoft Office support to your application, even on mobile, without the hassle and expense of maintaining a dedicated conversion box.

DocumentAlchemy is a RESTful web service API for converting, generating and processing “documents” in a variety of formats, including Microsoft Office, PDF, HTML, Markdown, OpenOffice, images (PNG/JPEG/GIF/WebP/TIFF) and data (XML/JSON/FDF).

To learn more about the DocumentAlchemy API, visit the interactive API reference or review some of the sample code (at GitHub).

For full access, sign up for DocumentAlchemy now. All you need is an email address — there is no commitment and no credit-card is required.

Copyright © 2017 DocumentAlchemy.