jgm/pandoc

--metadata-file with non-markdown contents?

Open

#5,914 opened on Nov 18, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Haskell (44,133 stars) (3,850 forks)batch import
CLIgood first issuestatus:more-discussion-needed

Description

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

Contributor guide

--metadata-file with non-markdown contents? · jgm/pandoc#5914 | Good First Issue