Brett on 12 Feb, 2022 07:27 PM
I'm afraid I have no expertise at ALL with pandoc filters. I assume that the mermaid filter needs to write out an image/SVG file of some kind, and it's unable to do so because the environment isn't configured properly. Unfortunately, I don't know which environment variable it would be referencing.
I know pandoc has some options like --data-dir that might allow you to specify a working directory within your user home somehow, but again, I have little experience with Pandoc filters.