Highlight JSON with Skylighting by default, Highligher2 isn't working on it
This commit is contained in:
parent
90cb4fcd88
commit
f7b7a417eb
1 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ provideHtmlAndAP' host object widget = selectRep $ do
|
|||
for_ mroute $ \ route -> do
|
||||
params <- reqGetParams <$> getRequest
|
||||
let pj = ("prettyjson", "true")
|
||||
hl = ("highlight", "hl2")
|
||||
hl = ("highlight", "sky")
|
||||
params' = pj : hl : params
|
||||
[whamlet|
|
||||
<div>
|
||||
|
@ -236,7 +236,7 @@ provideHtmlAndAP'' body widget = selectRep $ do
|
|||
for_ mroute $ \ route -> do
|
||||
params <- reqGetParams <$> getRequest
|
||||
let pj = ("prettyjson", "true")
|
||||
hl = ("highlight", "hl2")
|
||||
hl = ("highlight", "sky")
|
||||
params' = pj : hl : params
|
||||
[whamlet|
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue