Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 767 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 767 Bytes

Important: This repo and gem are unmaintained! If you are interested in maintaining, please contact me at [email protected].

kramdown PDF converter

This is a converter for kramdown that uses Prawn to converter a kramdown document to PDF.

Note: Until kramdown version 2.0.0 this converter was part of the kramdown distribution.

Installation

gem install kramdown-converter-pdf

Usage

require 'kramdown'
require 'kramdown/converter/pdf'

Kramdown::Document.new(text).to_pdf

Development

Clone the git repository and you are good to go. You probably want to install rake so that you can use the provided rake tasks.

License

MIT - see the COPYING file.