git.iko.soy/typeable/pandoc
on master help sign in
Fixed trypandoc.
ea684d2John MacFarlane
pandoc.cabal+1−1
@@ -468,7 +468,7 @@ Executable trypandoc
468 Other-Modules: Prelude
468 Other-Modules: Prelude
469 default-language: Haskell2010
469 default-language: Haskell2010
470 if flag(trypandoc)
470 if flag(trypandoc)
471− Build-Depends: base, aeson, pandoc, skylighting,
471+ Build-Depends: base, aeson, pandoc,
472 text, wai-extra, wai >= 0.3, http-types
472 text, wai-extra, wai >= 0.3, http-types
473 Buildable: True
473 Buildable: True
474 else
474 else
trypandoc/trypandoc.hs+1−3
@@ -10,7 +10,6 @@ import Network.HTTP.Types.URI (queryToQueryText)
10import Text.Pandoc
10import Text.Pandoc
11import Text.Pandoc.Error (PandocError)
11import Text.Pandoc.Error (PandocError)
12import Text.Pandoc.Shared (tabFilter)
12import Text.Pandoc.Shared (tabFilter)
13−import Text.Highlighting.Kate (pygments)
14import Data.Aeson
13import Data.Aeson
15import qualified Data.Text as T
14import qualified Data.Text as T
16import Data.Text (Text)
15import Data.Text (Text)
@@ -51,8 +50,7 @@ writerOpts :: WriterOptions
51writerOpts = def { writerReferenceLinks = True,
50writerOpts = def { writerReferenceLinks = True,
52 writerEmailObfuscation = NoObfuscation,
51 writerEmailObfuscation = NoObfuscation,
53 writerHTMLMathMethod = MathJax "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML",
52 writerHTMLMathMethod = MathJax "http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML",
54− writerHighlight = True,
53+ writerHighlight = True }
55− writerHighlightStyle = pygments }
56
54
57readerOpts :: ReaderOptions
55readerOpts :: ReaderOptions
58readerOpts = def { readerParseRaw = True,
56readerOpts = def { readerParseRaw = True,