pandoc filter does not read metadata - not a valid json value

╄→尐↘猪︶ㄣ 提交于 2020-06-01 05:07:42

问题


The filter copied from https://pandoc.org/filters.html and run with

pandoc -f markdown  -t markdown  --filter filterUmlaut -o test1.md coronatest.md

produces the error

Failed reading: not a valid json value at 'input---ntitle:TheFutureofAAn...nn##secondlevelntextfornothingn'

which is the metadata at the beginning of coronatest.md. The file can be run with the same command without the filter option:

pandoc -f markdown  -t markdown   -o test1.md coronatest.md

What do I miss?

来源:https://stackoverflow.com/questions/62060820/pandoc-filter-does-not-read-metadata-not-a-valid-json-value

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!