With pandoc 2.0 compiled locally all of the xnos repos throw RuntimeError: Cannot understand pandocversion=2.0; because version 2.0 is not supported in the current or nextrelease branches.
This PR adds changes the regex that does the version matching to support 2.0.
I have not done extensive testing on 2.0, but it parses my Markdown without any errors and functionality still works. I could not find any tests, but if you point me to the right place I'll be more than happy to fix anything that is broken.
I can't remember why this didn't get pulled -- sorry. Maybe I missed it. But the filters definitely work with pandoc 2.0 now. Thanks for the contribution.
With
pandoc
2.0 compiled locally all of thexnos
repos throwRuntimeError: Cannot understand pandocversion=2.0
; because version2.0
is not supported in the current or nextrelease branches.This PR adds changes the regex that does the version matching to support 2.0.
I have not done extensive testing on 2.0, but it parses my Markdown without any errors and functionality still works. I could not find any tests, but if you point me to the right place I'll be more than happy to fix anything that is broken.