# Rapport
Reporting solution for Elixir using EEx templates, HTML and CSS built to support printing.
[](https://travis-ci.org/ricn/rapport)
[](https://hex.pm/packages/rapport)
[](http://inch-ci.org/github/ricn/rapport)
[](https://coveralls.io/github/ricn/rapport?branch=master)
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `rapport` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:rapport, "~> 0.2.0"}
]
end
```
## Basic Usage
```elixir
template = """
<section class="sheet padding-10mm">
<article><%= @hello %></article>
</section>
"""
html_report =
Rapport.new
|> Rapport.add_page(template, %{hello: "Hello world!"})
|> Rapport.generate_html
```
## Credits
The following people have contributed ideas, documentation, or code to Librex:
* Richard Nyström
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request