owickstrom / pandoc-include-code

A Pandoc filter for including code from source files
Mozilla Public License 2.0
141 stars 17 forks source link

pandoc-include-code: patch for pandoc 2.11 #35

Closed chenrui333 closed 4 years ago

chenrui333 commented 4 years ago
==> /usr/local/opt/pandoc/bin/pandoc -F /usr/local/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,22] but attempted to decode with [1,20].
CallStack (from HasCallStack):
  error, called at ./Text/Pandoc/JSON.hs:112:48 in pndc-typs-1.20-8d86ff1e:Text.Pandoc.JSON
Error running filter /usr/local/Cellar/pandoc-include-code/1.5.0.0_2/bin/pandoc-include-code:
Filter returned error status 1

relates to https://github.com/Homebrew/homebrew-core/pull/62771

LaurentRDC commented 4 years ago

This is redundant with #34

chenrui333 commented 4 years ago

I see, anything block that PR from being merged?

LaurentRDC commented 4 years ago

Nothing. I don't have merging rights so I can't do it myself. Gotta wait for someone else to review the PR.