commonmark-pandoc 0.2.2.3 → 0.2.3
raw patch · 3 files changed
+10/−2 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +8/−0
- commonmark-pandoc.cabal +1/−1
- src/Commonmark/Pandoc.hs +1/−1
changelog.md view
@@ -1,5 +1,13 @@ # Changelog for commonmark-pandoc +## 0.2.3++- Track wikilinks with a class instead of the title (Evan+ Silberman). The use of title="wikilink" in HTML output traces+ back to Pandoc's hijacking of the title attribute for this purpose+ back when Pandoc links didn't have Attrs. A coordinated change in+ Pandoc moves this more appropriately into a class.+ ## 0.2.2.3 - Avoid adding spurious extra data-pos attribute to wrapper
commonmark-pandoc.cabal view
@@ -1,5 +1,5 @@ name: commonmark-pandoc-version: 0.2.2.3+version: 0.2.3 synopsis: Bridge between commonmark and pandoc AST. description: This library provides typeclasses for rendering commonmark to Pandoc types.
src/Commonmark/Pandoc.hs view
@@ -120,7 +120,7 @@ $ B.text t instance HasWikilinks (Cm b B.Inlines) where- wikilink t il = Cm $ B.link t "wikilink" $ unCm il+ wikilink t il = Cm $ B.linkWith (mempty, ["wikilink"], mempty) t "" $ unCm il instance HasPipeTable (Cm a B.Inlines) (Cm a B.Blocks) where pipeTable aligns headerCells rows =