API Reference AnsiToHTML v0.5.3

modules

Modules

AnsiToHTML is a small library to convert ANSI Styling codes to HTML using phoenix_html. The library is not solely intended 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.