Address Lumis api deprecation
This commit is contained in:
@@ -140,10 +140,11 @@ defmodule MusicLibraryWeb.CoreComponents do
|
|||||||
data
|
data
|
||||||
|> Jason.encode!(pretty: true)
|
|> Jason.encode!(pretty: true)
|
||||||
|> Lumis.highlight!(
|
|> Lumis.highlight!(
|
||||||
language: "json",
|
|
||||||
formatter:
|
formatter:
|
||||||
{:html_multi_themes,
|
{: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()
|
|> Phoenix.HTML.raw()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user