Skip to content

Support pandoc 3.0 #46

@chenrui333

Description

@chenrui333

While trying to upgrade pandoc 3.0 formula, I ran into some regression test failure.

  ==> /opt/homebrew/opt/pandoc/bin/pandoc -F /opt/homebrew/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code -o out.html hello.md
  pandoc-include-code: Error in $: Incompatible API versions: encoded with [1,23] but attempted to decode with [1,22].
  CallStack (from HasCallStack):
    error, called at src/Text/Pandoc/JSON.hs:112:48 in pndc-typs-1.22-04178467:Text.Pandoc.JSON
  Error running filter /opt/homebrew/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code:
  Filter returned error status 1
  ==> Testing pandoc-include-code (again)
  ==> /opt/homebrew/opt/pandoc/bin/pandoc -F /opt/homebrew/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code -o out.html hello.md
  pandoc-include-code: Error in $: Incompatible API versions: encoded with [1,23] but attempted to decode with [1,22].
  CallStack (from HasCallStack):
    error, called at src/Text/Pandoc/JSON.hs:112:48 in pndc-typs-1.22-04178467:Text.Pandoc.JSON
  Error running filter /opt/homebrew/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code:
  Filter returned error status 1
  Error: pandoc-include-code: failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions