From ea684d257efbc925f56caa55b7eb3efdc1dc45ee Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 29 Jan 2017 20:52:57 +0100 Subject: Fixed trypandoc. --- pandoc.cabal | 2 +- trypandoc/trypandoc.hs | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pandoc.cabal b/pandoc.cabal index 9ed034fe5..fc9f44426 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -468,7 +468,7 @@ Executable trypandoc Other-Modules: Prelude default-language: Haskell2010 if flag(trypandoc) - Build-Depends: base, aeson, pandoc, skylighting, + Build-Depends: base, aeson, pandoc, text, wai-extra, wai >= 0.3, http-types Buildable: True else diff --git a/trypandoc/trypandoc.hs b/trypandoc/trypandoc.hs index e11c90a40..2fcfe35e7 100644 --- a/trypandoc/trypandoc.hs +++ b/trypandoc/trypandoc.hs @@ -10,7 +10,6 @@ import Network.HTTP.Types.URI (queryToQueryText) import Text.Pandoc import Text.Pandoc.Error (PandocError) import Text.Pandoc.Shared (tabFilter) -import Text.Highlighting.Kate (pygments) import Data.Aeson import qualified Data.Text as T import Data.Text (Text) @@ -51,8 +50,7 @@ writerOpts :: WriterOptions writerOpts = def { writerReferenceLinks = True, writerEmailObfuscation = NoObfuscation, writerHTMLMathMethod = MathJax "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML", - writerHighlight = True, - writerHighlightStyle = pygments } + writerHighlight = True } readerOpts :: ReaderOptions readerOpts = def { readerParseRaw = True, -- cgit v1.2.3