packages feed

commonmark-cli 0.1.0.1 → 0.2

raw patch · 3 files changed

+19/−8 lines, 3 filesdep −pretty-simpledep ~basedep ~commonmarkdep ~commonmark-extensions

Dependencies removed: pretty-simple

Dependency ranges changed: base, commonmark, commonmark-extensions, commonmark-pandoc

Files

changelog.md view
@@ -1,5 +1,11 @@ # Changelog for commonmark-cli +## 0.2++  * Support `rebase_relative_paths` extension.+  * Support `wikilinks_title_before_pipe`, `wikilinks_title_after_pipe`+    extensions.+ ## 0.1.0.1  - Allow compilation with commonmark-pandoc 0.2.0.0,
commonmark-cli.cabal view
@@ -1,5 +1,5 @@ name:           commonmark-cli-version:        0.1.0.1+version:        0.2 synopsis:       Command-line commonmark converter and highlighter. description:    This package provides a command-line tool, `commonmark`,                 for converting and syntax-highlighting commonmark documents.@@ -8,7 +8,7 @@ bug-reports:    https://github.com/jgm/commonmark-hs/issues author:         John MacFarlane maintainer:     jgm@berkeley.edu-copyright:      2018-2020 John MacFarlane+copyright:      2018-2021 John MacFarlane license:        BSD3 license-file:   LICENSE build-type:     Simple@@ -27,16 +27,17 @@   hs-source-dirs: src   if impl(ghc >= 8.8)     ghc-options:  -fwrite-ide-info -hiedir=.hie+  if impl(ghc >= 8.10)+    ghc-options:      -Wunused-packages   ghc-options: -threaded -rtsopts-  build-depends: base >=4.7 && <5-               , commonmark >= 0.1 && < 0.2-               , commonmark-extensions >= 0.1 && < 0.3-               , commonmark-pandoc >= 0.1 && < 0.3+  build-depends: base >= 4.9 && <5+               , commonmark >= 0.2 && < 0.3+               , commonmark-extensions >= 0.2.1 && < 0.3+               , commonmark-pandoc >= 0.2.1 && < 0.3                , pandoc-types                , aeson                , bytestring                , containers-               , pretty-simple                , mtl                , bytestring                , text
src/convert.hs view
@@ -124,6 +124,7 @@                HasMath il,                HasQuoted il,                HasEmoji il,+               HasWikilinks il,                HasSpan il,                ToPlainText il,                HasStrikethrough il,@@ -155,6 +156,9 @@   ,("auto_identifiers", autoIdentifiersSpec)   ,("auto_identifiers_ascii", autoIdentifiersAsciiSpec)   ,("implicit_heading_references", implicitHeadingReferencesSpec)+  ,("wikilinks_title_before_pipe", wikilinksSpec TitleBeforePipe)+  ,("wikilinks_title_after_pipe", wikilinksSpec TitleAfterPipe)+  ,("rebase_relative_paths", rebaseRelativePathsSpec)   ,("gfm", gfmExtensions)   ] @@ -171,7 +175,7 @@  (Monad m, Typeable m, Typeable bl, Typeable il,   IsBlock il bl, IsInline il,   HasPipeTable il bl, HasMath il, HasQuoted il, HasEmoji il,-  HasSpan il,+  HasWikilinks il, HasSpan il,   ToPlainText il,   HasStrikethrough il,   HasSuperscript il,