# Athena

[![pipeline status](](

An ANSI to HTML converter. Built for the usage of Cucumber output.

## Installation

def deps do
    {:athena, "~> 0.1.0"}

Documentation can be generated with [ExDoc](

The docs can be found at [](

## Examples

Basic usage: 

iex> Athena.ansi_to_html("\e[4mfoo\e[0m")
"<span style='text-decoration: underline;'>foo</span>"

To see the list of support `ansi_codes`:

iex> Athena.ansi_codes()
  "0m" => "</span>",
  "1m" => "<span style='font-weight: bold;'>",
  "4m" => "<span style='text-decoration: underline;'>",
  "30m" => "<span style='color: black;'>",
  "31m" => "<span style='color: red;'>",

## Contributing

Issues and PRs are welcome. If you are to make a PR, please use the `mix format` command before committing.