# `Braces.Liquid.Phoenix.Engine`
[🔗](https://github.com/dbernheisel/braces/blob/v0.1.0/lib/braces/liquid/phoenix/engine.ex#L2)

A `Phoenix.Template` engine for `.liquid` files. Only defined when `phoenix_template` is
installed.

    # config/config.exs
    config :phoenix_template, :template_engines, liquid: Braces.Liquid.Phoenix.Engine

`emails/welcome.html.liquid` becomes a `welcome/1` function whose assigns are the
template's data: `{{ first_name }}` reads `@first_name`. It's compiled with your module,
so a template that can't be rendered fails the build at its line. It renders as
`Braces.Liquid.render/3` does, with the `Braces.Filters` helpers. Values are HTML-escaped
in HTML formats, and written as they are in others.

---

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