Skip to content
Custom Heroku Buildpacks
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 2 commits behind illustrativemathematics:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
README.md

README.md

Pandoc Buildpack

A Heroku buildpack for pandoc.

Installation

To install this buildpack run:

heroku buildpacks:add https://github.com/illustrativemathematics/pandoc-buildpack.git -a your-app-name

The buildpack will be installed on your next push to the app.

What It Does

  • The buildpack script downloads a prebuilt debian archive from the pandoc repository.
    • If the deb archive already exists in the heroku buildpack cache, the cached version will be used instead.
  • The script then extracts the pandoc binary from this archive into /app/vendor/pandoc/bin.
  • Finally, the script adds /app/vendor/pandoc/bin to the PATH.

For details, see the script in bin/compile.

You can’t perform that action at this time.