packages feed

pandoc-include-plus-0.1.2: pandoc-include-plus.cabal

cabal-version:   3.0
name:            pandoc-include-plus
version:         0.1.2
synopsis:
  Pandoc filter to include files, with image path and heading level adjustment.
description:
  For more information and a tutorial on how to use this package,
  please see the README at <https://github.com/mhwombat/pandoc-include-plus#readme>.
homepage:        https://codeberg.org/mhwombat/pandoc-include-plus
bug-reports:     https://codeberg.org/mhwombat/pandoc-include-plus/issues
license:         BSD-3-Clause
license-file:    LICENSE
author:          Amy de Buitléir
maintainer:      amy@nualeargais.ie
copyright:       (c) 2020-2023 Amy de Buitléir
category:        Text
build-type:      Simple
extra-doc-files: CHANGELOG.md

source-repository head
  type:              git
  location:          https://codeberg.org/mhwombat/pandoc-include-plus.git

common common-stuff
  default-language: Haskell2010
  default-extensions: ImportQualifiedPost
  build-depends:
    base >= 4.16.4 && < 4.17,
    pandoc-types >= 1.22.2 && < 1.23
  ghc-options: -Wall  -Wunused-packages

library
  import:           common-stuff
  hs-source-dirs:   src
  exposed-modules:  Text.Pandoc.Filters.Include
  build-depends:
    bytestring,
    filepath,
    network-uri,
    pandoc >= 2.19.2 && < 2.20,
    text

executable pandoc-include-plus
  import:           common-stuff
  hs-source-dirs:   app
  main-is:          Main.hs
  build-depends:
    pandoc-include-plus,
    directory