Recipes
Phoenix LiveView rendering
Render Lumis HTML safely in Phoenix and LiveView templates.
{Phoenix.HTML.raw(
Lumis.highlight!(source,
formatter:
{:html_inline,
language: "elixir",
theme: "catppuccin_frappe"}
)
)}See Elixir for broader integration notes.