packages feed

pandoc-csv2table 1.0.8 → 1.0.9

raw patch · 3 files changed

+16/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -5,6 +5,13 @@  ## [Unreleased] +## [1.0.9] - 2021-03-14++- Fix compatibility with pandoc 2.10+- Update for change to table definition in pandoc-types 1.21.0+- Update stack verion+- Added test procedure in lieu of a full test suite+ ## [1.0.8] - 2020-01-27  - update stack version@@ -55,7 +62,8 @@ - The first release.  -[Unreleased]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.8...HEAD+[Unreleased]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.9...HEAD+[1.0.9]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.9...1.0.8 [1.0.8]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.7...1.0.8 [1.0.7]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.6...1.0.7 [1.0.6]: https://github.com/baig/pandoc-csv2table-filter/compare/1.0.5...1.0.6
pandoc-csv2table.cabal view
@@ -1,5 +1,5 @@ Name:                 pandoc-csv2table-Version:              1.0.8+Version:              1.0.9 Synopsis:             Convert CSV to Pandoc Table Markdown Description:          A Pandoc filter that replaces image inline or fenced code                       blocks with pandoc table markdown. CSV contents will be@@ -10,7 +10,7 @@ License-File:         LICENSE Author:               Wasif Hasan Baig <pr.wasif@gmail.com> Maintainer:           Venkateswara Rao Mandela <venkat.mandela@gmail.com>-Copyright:            (c) 2015-2020 Wasif Hasan Baig, Venkateswara Rao Mandela+Copyright:            (c) 2015-2021 Wasif Hasan Baig, Venkateswara Rao Mandela Stability:            alpha Category:             Text Build-Type:           Simple
src/Text/Table/Helper.hs view
@@ -84,7 +84,12 @@  -- | Add Inline from Image into Table as the caption addInlineLabel :: [J.Inline] -> J.Pandoc -> J.Pandoc+#if MIN_VERSION_pandoc_types(1,21,0)+addInlineLabel i (J.Pandoc m [(J.Table attr _ colSpec tableHead tableBody tableFoot)]) = J.Pandoc m [(J.Table attr inlineCaption colSpec tableHead tableBody tableFoot)]+                                                                                          where inlineCaption = J.Caption (Nothing) [J.Plain i] -- We dont support ShortCaption+#else addInlineLabel i (J.Pandoc m [(J.Table _ as ds ts tss)]) = J.Pandoc m [(J.Table i as ds ts tss)]+#endif addInlineLabel _ x = x  -- | Extracts Blocks from Pandoc Document