Fixed trypandoc.
This commit is contained in:
parent
d1dd4f2e26
commit
ea684d257e
2 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue