jgm/pandoc

--metadata-file with non-markdown contents?

Open

#5,914 建立於 2019年11月18日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Haskell (44,133 star) (3,850 fork)batch import
CLIgood first issuestatus:more-discussion-needed

描述

Currently string fields in --metadata-file are interpreted as pandoc markdown, no matter what input format is specified using --from.

But many JSON files found in the wild have other formats (esp. HTML), and it would be very handy to be able to use them with --metadata-file.

Is there a compelling reason for using pandoc markdown no matter what the format of the main document? @mb21

貢獻者指南