jgm/pandoc

--metadata-file with non-markdown contents?

Open

#5.914 geöffnet am 18. Nov. 2019

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Haskell (3.850 Forks)batch import
CLIgood first issuestatus:more-discussion-needed

Repository-Metriken

Stars
 (44.133 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T) (7 gemergte PRs in 30 T)

Beschreibung

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