Skip to content

metaminded/shrimp_kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Climate

ShrimpKit

ShrimpKit is a basic html renderer for Prawn.

It's very work-in-progress, so use at your own risk.

And... How to use?

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>")

Tag Support?

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.

Dependencies

  • Prawn >= 1.2
  • active_support

Licence

MIT. Go for it.

About

ShrimpKit is a basic html renderer for Prawn.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •