Alright I found now solution, it is quite easy to generate the AMP pages, and I can modify it. I found I can do: pandoc --print-default-data-file sample.lua > sample.lua and then I can modify it to conform to the special AMP HTML tags, which are not many in the body: https://www.ampproject.org/docs/reference/spec while the template may generate the header tags, and whatever is not in the body. In that sense, for me this is closed, I found the way to generate AMP pages by using pandoc's lua extension. My budget is zero dollars, and it allows me to make those very small modifications. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/382a2f59-fca3-4409-8b05-10bd7e884a70%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.