Skip to content

Commit

Permalink
Use oneDark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxcarlson committed Feb 20, 2021
1 parent e667436 commit 9916a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Internal/Render.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ renderCodeEnvironment source_ latexState optArgs body =
highlightSyntax : String -> String -> Html msg
highlightSyntax lang_ source =
Html.div [HA.style "class" "elmsh-pa"]
[ SH.useTheme SH.gitHub
[ SH.useTheme SH.oneDark
, (getLang lang_) source
|> Result.map (SH.toBlockHtml (Just 1))
-- |> Result.map (SH.toBlockHtml (Just 1) >> \x -> Html.div [HA.style "class" "pre.elmsh {padding: 8px;}"] [x])
Expand Down

0 comments on commit 9916a34

Please sign in to comment.