markdown with mathjax in hugo and pandoc

The docs link to Hugo’s source code, which currently says this:

I’ve written about this in https://www.ii.com/hugo-markup-languages/, which discusses that you can tell Hugo to interpret a file as Pandoc with any of the following:

  • .pdc file extension
  • .pandoc file extension
  • markup: pdc in YAML front matter
  • markup: pandoc in YAML front matter

I hope that’s helpful!

I’d love to hear about any tips for using Pandoc with Hugo because I need to do that with some of my old Tumblr tumbles, which I wrote in PHP-Extra-flavored Markdown.