Closed svenboulanger closed 1 year ago
Pandoc treats metadata from the defaults file as plaintext. This is a known issue, there are no plans to fix it AFAIK. Use crossrefYaml
metadata option to work around that.
Ok thanks, I missed that part in the documentation.
I was experimenting with the template feature, notably
tableTemplate
.This markdown file works:
pandoc test.md -s --filter pandoc-crossref.exe -o test.docx
But if I try the same thing providing metadata through the yaml file, it doesn't work:
Instead of
Table 1: Name This is a test
, the result changes to$$tableTitle$$ $$i$$$$titleDelim$$ $$t$$ This is a test
.Note that if I use other variables in the template, like
tableTitle
, it does work even from the yaml file.