jgm/pandoc

--metadata-file with non-markdown contents?

Open

#5.914 aberto em 18 de nov. de 2019

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)Haskell (3.850 forks)batch import
CLIgood first issuestatus:more-discussion-needed

Métricas do repositório

Stars
 (44.133 stars)
Métricas de merge de PR
 (Mesclagem média 7d) (7 fundiu PRs em 30d)

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

Guia do colaborador