packages feed

yesod-markdown-0.11.2: yesod-markdown.cabal

name:                   yesod-markdown
version:                0.11.2
synopsis:               Tools for using markdown in a yesod application
description:            A subset of pandoc functionality useful for markdown processing in yesod applications
homepage:               http://github.com/pbrisbin/yesod-markdown
license:                GPL-2
license-file:           LICENSE
author:                 Alexander Dunlap, Patrick Brisbin
maintainer:             Patrick Brisbin <pbrisbin@gmail.com>
category:               Web, Yesod
build-type:             Simple
cabal-version:          >=1.8

library
  hs-source-dirs:       src
  ghc-options:          -Wall
  exposed-modules:      Yesod.Markdown
  build-depends:        base            >= 4     && < 5
                      , text            >= 0.11  && < 2.0
                      , bytestring      >= 0.9   && < 0.11
                      , pandoc          >= 1.16  && < 1.18
                      , blaze-html      >= 0.5   && < 0.9
                      , blaze-markup    >= 0.5   && < 0.8
                      , xss-sanitize    >= 0.3.1 && < 0.4
                      , directory
                      , yesod-core      >= 1.2   && < 1.5
                      , yesod-form      >= 1.3   && < 1.5
                      , shakespeare     >= 2.0   && < 2.1
                      , persistent      >= 0.9

                      -- See https://github.com/jgm/pandoc/issues/1482 and
                      -- http://hackage.haskell.org/package/texmath/preferred
                      , texmath <0.6.5.1 || >0.6.5.1 && <0.6.7 || >0.6.7

test-suite test
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    hs-source-dirs:     test
    ghc-options:        -Wall
    build-depends:      base
                      , yesod-markdown
                      , hspec
                      , blaze-html
                      , text

source-repository       head
  type:                 git
  location:             https://github.com/pbrisbin/yesod-markdown