ShrimpKit is a basic html renderer for Prawn.
It's very work-in-progress, so use at your own risk.
either "directly":
ShrimpKit.to_pdf_file('/Users/hornp/Desktop/foo.pdf', "<i>some html</i>")
or within a prawn document:
pdf.html_formatted_text("<i>some html</i>")
These should kinda work:
- h1
- h2
- h3
- p
- div
- br
- i
- b
- a (wip)
- ul/li
- and some table features
I'm working on it, stay tuned.
- Prawn >= 1.2
- active_support
MIT. Go for it.