Address Lumis api deprecation

This commit is contained in:
Claudio Ortolina
2026-04-06 10:27:13 +01:00
parent fcd9a17211
commit 2609adbf84
@@ -140,10 +140,11 @@ defmodule MusicLibraryWeb.CoreComponents do
data
|> Jason.encode!(pretty: true)
|> Lumis.highlight!(
language: "json",
formatter:
{:html_multi_themes,
themes: [light: "github_light", dark: "github_dark"], default_theme: "light-dark()"}
language: "json",
themes: [light: "github_light", dark: "github_dark"],
default_theme: "light-dark()"}
)
|> Phoenix.HTML.raw()
end