Project

htmlbook

0.0
No commit activity in last 3 years
No release in over 3 years
Splits HTML content into pages suitable for printing.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.2.0, ~> 0.2
 Project Readme

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