Hi everyone,
I am trying to use pandoc to create a pdf file from a json file formatted following the schema.org structured data format. Let's take, as example, this: https://schema.org/Recipe
Unfortunately, the output of
pandoc -o recipe.pdf recipe.json --template custom
is "JSON parse error".
For what I understand, pandoc handles a particular json format but I wasn't able to find proper documentation on how to structure it.
I was looking at this example, but it seems to be a different approach: https://pandoc.org/using-the-pandoc-api.html#builder
Do you have any suggestion on how to achieve this?
I was also thinking of writing a converter from schema.org to markdown and yaml frontmatter and then serve it to pandoc.
Thanks!
Jacopo