# `Premailex.HTMLToPlainText`
[🔗](https://github.com/danschultzer/premailex/blob/v1.0.1/lib/premailex/html_to_plain_text.ex#L1)

Converts `t:Premailex.html_tree/0` into plain text.

# `process`

```elixir
@spec process(Premailex.html_tree()) :: String.t()
```

Converts a `t:Premailex.html_tree/0` into a plain text string.

## Examples

    iex> tree = Premailex.parse("<html><body><ul><li>Test</li></ul></body></html>")
    iex> Premailex.HTMLToPlainText.process(tree)
    "* Test"

---

*Consult [api-reference.md](api-reference.md) for complete listing*
