packages feed

pandoc-stylefrommeta 0.2.3.0 → 0.2.4.0

raw patch · 4 files changed

+33/−6 lines, 4 filesdep ~pandocdep ~pandoc-types

Dependency ranges changed: pandoc, pandoc-types

Files

Changelog.md view
@@ -1,3 +1,7 @@+### 0.2.4.0++- More granular Cabal build plan which lets skipping unneeded dependencies.+ ### 0.2.3.0  - Migrated from *MissingH* to *extra* for GHC *8.8.1* support.
LICENSE view
@@ -1,7 +1,7 @@ The following license covers this documentation, and the source code, except where otherwise indicated. -Copyright 2016-2019, Alexey Radkov. All rights reserved.+Copyright 2016-2022, Alexey Radkov. All rights reserved.  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
README.md view
@@ -1,7 +1,7 @@ styleFromMeta ============= -[![Hackage](https://img.shields.io/hackage/v/pandoc-stylefrommeta)](https://hackage.haskell.org/package/pandoc-stylefrommeta)+[![Hackage](https://img.shields.io/hackage/v/pandoc-stylefrommeta.svg?label=hackage%20%7C%20pandoc-stylefrommeta&logo=haskell&logoColor=%239580D1)](https://hackage.haskell.org/package/pandoc-stylefrommeta)  Pandoc filter to apply styles found in the metadata of the document to various objects.@@ -13,7 +13,7 @@ - Paragraphs (with restrictions, see below)  Styles are read from the metadata of the document: they may reside inside the-document or in a separate YAML file. For example,+document or in a separate YAML file. For example<sup>[1](#fn1)</sup>,  ```yaml     ---@@ -106,4 +106,9 @@ HTML). Any contents found between opening and closing span tags are ignored: actual paragraph contents will be inserted inside them. Notice that wrapping inside code blocks is not allowed in `para_style` block.++<br><hr><a name="fn1"><sup>**1**</sup></a>&nbsp; All YAML and markdown code+examples in this document have 4-space indentation as the document requires this+for correct rendering. As such, when they are copied and pasted for playing+around, the indentation must be removed! 
pandoc-stylefrommeta.cabal view
@@ -1,5 +1,5 @@ name:                    pandoc-stylefrommeta-version:                 0.2.3.0+version:                 0.2.4.0 synopsis:                Pandoc filter to customize links, images and paragraphs description:             Pandoc filter to customize links, images and paragraphs         (with restrictions). Styles are read from the metadata of the document:@@ -11,7 +11,7 @@ author:                  Alexey Radkov <alexey.radkov@gmail.com> maintainer:              Alexey Radkov <alexey.radkov@gmail.com> stability:               stable-copyright:               2016-2019 Alexey Radkov+copyright:               2016-2022 Alexey Radkov category:                Text build-type:              Simple cabal-version:           1.20@@ -20,15 +20,33 @@   type:                  git   location:              git@github.com:lyokha/styleFromMeta.git +flag Pandoc2+  description:           Use Pandoc 2.0 and newer+                         (requires text and bytestring)++flag PandocUseText+  description:           Use Pandoc migrated from String to Text+                         (requires pandoc >= 2.8 and pandoc-types >= 1.20)+ executable styleFromMeta   default-language:      Haskell2010   build-depends:         base >= 4.8 && < 5                        , pandoc >= 1.12                        , pandoc-types >= 1.12                        , containers >= 0.2-                       , extra++  if flag(Pandoc2)+    build-depends:       pandoc >= 2.0+                       , pandoc-types >= 1.17.2                        , text                        , bytestring++  if flag(PandocUseText)+    build-depends:       pandoc >= 2.8+                       , pandoc-types >= 1.20+  else+    build-depends:       extra+   default-extensions:    CPP   main-is:               styleFromMeta.hs