git.iko.soy/typeable/pandoc
on master help sign in
Fixed trypandoc.
commitea684d257efbc925f56caa55b7eb3efdc1dc45ee authorJohn MacFarlane <jgm@berkeley.edu> dateSun 29 Jan 2017, 20:52 (10 years ago) parentd1dd4f2
2 files changed+2−4
pandoc.cabal+1−1 trypandoc/trypandoc.hs+1−3
pandoc.cabal+1−1
@@ -468,7 +468,7 @@ Executable trypandoc
468468 Other-Modules: Prelude
469469 default-language: Haskell2010
470470 if flag(trypandoc)
471− Build-Depends: base, aeson, pandoc, skylighting,
471+ Build-Depends: base, aeson, pandoc,
472472 text, wai-extra, wai >= 0.3, http-types
473473 Buildable: True
474474 else
trypandoc/trypandoc.hs+1−3
@@ -10,7 +10,6 @@ import Network.HTTP.Types.URI (queryToQueryText)
1010import Text.Pandoc
1111import Text.Pandoc.Error (PandocError)
1212import Text.Pandoc.Shared (tabFilter)
13−import Text.Highlighting.Kate (pygments)
1413import Data.Aeson
1514import qualified Data.Text as T
1615import Data.Text (Text)
@@ -51,8 +50,7 @@ writerOpts :: WriterOptions
5150writerOpts = def { writerReferenceLinks = True,
5251 writerEmailObfuscation = NoObfuscation,
5352 writerHTMLMathMethod = MathJax "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML",
54− writerHighlight = True,
55− writerHighlightStyle = pygments }
53+ writerHighlight = True }
5654
5755readerOpts :: ReaderOptions
5856readerOpts = def { readerParseRaw = True,