md2pdf

MD2PDF

Convert markdown files to PDF with flexible template and stylesheet using wkhtmltopdf.

The app itself does not to much, it just ties together wkhtmltopdf (using blocknotes/wkhtmltopdf-crystal) with markd (Crystal CommonMark parser) and Crinja (Crystal template engine).

Examples

Installation

There is currently no binary distribution, you’ll need to build it yourself.

Building instructions

Usage

The programm is usually run as md2pdf myfile.md which will generate a PDF at myfile.pdf.

Contributing

  1. Fork it ( https://github.com/straight-shoota/md2pdf/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am ‘Add some feature’)
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors