Noted. It seems strangely complicated to automate pandoc compared to some other tools — almost as if it weren't designed to be called in scripts.
//