BSD-3-Clause licensed by John MacFarlane
Maintained by [email protected]
This version can be pinned in stack with:commonmark-pandoc-0.2.3@sha256:15e2048b450fc616f3ad8ef14909320d7904bbede874a131bce38f2df50d0124,1155

Module documentation for 0.2.3

commonmark-pandoc

hackage release

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

Changes

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 Div (#159).

0.2.2.2

  • Add wrapper=“1” when we need to add Div or Span. This is needed for good round-tripping; a djot writer can see that this attribute was added and remove the wrapping, adding the attributes directly to the element.

0.2.2.1

  • Remove nested footnotes (#138).

0.2.2

  • Add support for alerts extension (#132).

0.2.1.3

  • Allow pandoc-types 1.23.

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