AnsiToHTML v0.2.0 API Reference

Modules

AnsiToHTML is a small library to convert ANSI Styling codes to HTML using phoenix_html. The library is not solely intented for use with Phoenix and can be easily used without it

AnsiToHTML.Theme structs define how the ANSI should be converted to html tags. You can pass a custom theme to both AnsiToHTML.generate_html/2 and AnsiToHTML.generate_phoenix_html/2 as the second argument