Skip to content

jrobertson/htmlbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introducing the HTMLbook gem

Usage

require 'htmlbook'

book = HtmlBook.new('/tmp/page.html')
book.build
puts book.to_html

This gem attempts to make an HTML document easier to print like a book by splitting the content in pages based on the accumulated height of HTML elements.

Resources

htmlbook gem html book page pages

About

Splits HTML content into pages suitable for printing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages