packages feed

pandoc-sidenote 0.20.0.0 → 0.22.1.0

raw patch · 3 files changed

+22/−11 lines, 3 filesdep ~pandoc-typesPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: pandoc-types

API changes (from Hackage documentation)

Files

README.md view
@@ -20,6 +20,7 @@  | pandoc    | pandoc-sidenote | | ------    | --------------- |+| 2.11      | 0.22.0, 0.22.1  | | 2.9       | 0.20.0          | | 2.1, 1.19 | 0.19.0          | | 1.18      | 0.9.0           |@@ -45,6 +46,16 @@ ```bash brew install jez/formulae/pandoc-sidenote ```++Side note: I run this command to generate the zip files attached to releases+that are downloaded by the Homebrew formula:++```+make+```++It would be nice to get GitHub Actions set up to build and publish releases+for each tagged commit automatically.  ### From Source 
pandoc-sidenote.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 6dc364e65c31a9cfa4710a50751353bc27d6b9a25404043839d770e41c2f207c+-- hash: 3254d38cc2ede0c149f9fb2b31e4d3c4e6a8405ceca46977c999a22ebe309b38  name:           pandoc-sidenote-version:        0.20.0.0+version:        0.22.1.0 synopsis:       Convert Pandoc Markdown-style footnotes into sidenotes description:    This is a simple Pandoc filter to convert footnotes into a format that can be consumed by Tufte CSS. On the whole, this project weighs in at well under 100 lines of code. Check out SideNote.hs if you're curious how it works. category:       CommandLine@@ -28,22 +28,24 @@   location: https://github.com/jez/pandoc-sidenote  library+  exposed-modules:+      Text.Pandoc.SideNote+  other-modules:+      Paths_pandoc_sidenote   hs-source-dirs:       src   ghc-options: -Wall -Wcompat -Wmissing-signatures -funbox-strict-fields   build-depends:       base >=4.7 && <5     , mtl-    , pandoc-types >=1.20+    , pandoc-types >=1.22     , text-  exposed-modules:-      Text.Pandoc.SideNote-  other-modules:-      Paths_pandoc_sidenote   default-language: Haskell2010  executable pandoc-sidenote   main-is: Main.hs+  other-modules:+      Paths_pandoc_sidenote   hs-source-dirs:       ./   ghc-options: -Wall -Wcompat -Wmissing-signatures -funbox-strict-fields -threaded -rtsopts -with-rtsopts=-N@@ -51,8 +53,6 @@       base >=4.7 && <5     , mtl     , pandoc-sidenote-    , pandoc-types >=1.20+    , pandoc-types >=1.22     , text-  other-modules:-      Paths_pandoc_sidenote   default-language: Haskell2010
src/Text/Pandoc/SideNote.hs view
@@ -84,7 +84,7 @@   let noteTypeCls       = if nonu then "marginnote" else "sidenote"   let note              = Span (ident, [noteTypeCls], attrs) content' -  return $ Span nullAttr [label, input, note]+  return $ Span ("", ["sidenote-wrapper"], []) [label, input, note]  filterInline inline = return inline