aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-01-29 20:52:57 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-01-29 20:52:57 +0100
commitea684d257efbc925f56caa55b7eb3efdc1dc45ee (patch)
treebf15fa73456a28f05948e81630f5b63a797db4d5
parentd1dd4f2e2667e96470a9220dd965fa8914199042 (diff)
downloadpandoc-ea684d257efbc925f56caa55b7eb3efdc1dc45ee.tar.gz
Fixed trypandoc.
-rw-r--r--pandoc.cabal2
-rw-r--r--trypandoc/trypandoc.hs4
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,