Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tool for creating good looking and well structured PDFs using Twitter Bootstrap.
Ruby Perl
Branch: master

README.md

bootstrap-pdf

bootstrap-pdf is a handy tool for creating good looking and well structured PDFs using Twitter Bootstrap.

Requirements

Getting started

1. Install the Gem

gem install bootstrap-pdf

2. Usage

Make a file with some content

touch foo.haml

Inside the file:

!!!5
%html
  %head
  %body
    .container
      .page-header
        %h1 Hey there

Run it!

bootstrap-pdf foo.haml

Will generate a file called out.pdf

Specifying custom stylesheets (path to look)

bootstrap-pdf foo.haml -s .
Something went wrong with that request. Please try again.