jgm/pandoc

--metadata-file with non-markdown contents?

Open

#5914 aperta il 18 nov 2019

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)Haskell (3850 fork)batch import
CLIgood first issuestatus:more-discussion-needed

Metriche repository

Star
 (44.133 star)
Metriche merge PR
 (Merge medio 7g) (7 PR mergiate in 30 g)

Descrizione

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

Guida contributor