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

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/a81bbb0b-4cde-4249-ade9-6f365e994be5%40googlegroups.com.