mix format plugin for Breeze templates.
This formatter supports the ~H sigil and formats Breeze tags/components,
attributes, slots, and directives (:for, :if).
Add it to .formatter.exs:
[
plugins: [Breeze.HTMLFormatter],
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
]Prior art
This module is inspired by Phoenix LiveView's HEEx formatter: