Solution
Make sure that the same module (plugins: [Phoenix.LiveView.HTMLFormatter]) is defined in the root .formatter.exs file as well. It’s mentioned in the docs but sometimes you even overlook big info sections like that or misunderstand them.
Also ensure that you have at least {:phoenix_live_view, "~> 0.17.8"} defined. It’s the first version that makes the formatter module available.


















