We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe6b0a commit 4dcf4b0Copy full SHA for 4dcf4b0
2 files changed
gitit.cabal
@@ -134,7 +134,7 @@ Library
134
mtl,
135
old-time,
136
temporary,
137
- pandoc >= 2.9 && < 2.20 || >= 3.0 && < 3.8,
+ pandoc >= 2.9 && < 2.20 || >= 3.0 && < 3.11,
138
pandoc-types >= 1.20 && < 1.24,
139
skylighting >= 0.8.2.3 && < 0.15,
140
bytestring,
src/Network/Gitit/ContentTransformer.hs
@@ -515,7 +515,11 @@ pandocToHtml pandocContents = do
515
MathJax u -> Pandoc.MathJax $ T.pack u
516
RawTeX -> Pandoc.PlainMath
517
, writerTableOfContents = toc
518
+#if MIN_VERSION_pandoc(3,8,0)
519
+ , writerHighlightMethod = Skylighting pygments
520
+#else
521
, writerHighlightStyle = Just pygments
522
+#endif
523
, writerExtensions = if bird
524
then enableExtension Ext_literate_haskell
525
$ writerExtensions def
0 commit comments