commonmark-pandoc

Bridge between commonmark and pandoc AST.

https://github.com/jgm/commonmark-hs

Version on this page:0.2.1.2
LTS Haskell 22.16:0.2.2.1
Stackage Nightly 2024-04-12:0.2.2.1
Latest on Hackage:0.2.2.1

See all snapshots commonmark-pandoc appears in

BSD-3-Clause licensed by John MacFarlane
Maintained by [email protected]
This version can be pinned in stack with:commonmark-pandoc-0.2.1.2@sha256:151e2fcb8dd984e71b51b5f1da82d72a7f972c2216723e65d79227174c4fee24,1153

Module documentation for 0.2.1.2

commonmark-pandoc

hackage release

This package provides typeclass instances for parsing commonmark directly into the Pandoc AST.

Changes

Changelog for commonmark-pandoc

0.2.1.2

  • Fix addition of sourcepos attributes to blocks (jgm/pandoc#7769). We were always adding an enclosing Div, even when the block admits attributes. Now the attributes are added to the block itself, unless it can’t accept attributes (as with inlines).

0.2.1.1

  • Don’t collapse Para to Plain in task lists (#77).

0.2.1

  • commonmark-pandoc.cabal: remove unneeded build-depend on containers.
  • Support wikilinks extension.

0.2.0.1

  • Allow pandoc-types 1.22.

0.2.0.0

  • Add HasQuoted instance.
  • Apply attributes directly to Table element (#47).

0.1.0.0

  • Initial release