The author clearly explained why they weren't able to use pandoc a couple lines before it.
> This arm64 system not only didn’t have pandoc installed, but pandoc wasn’t even in the software repository. I considered compiling it myself, but the language it is written in, Haskel, doesn’t even compile on arm64.
Then they justified it by explaining that their usecase didn't really need pandoc anyway.