When using VSCode pandoc extensions to create a pandoc preview, the html output is added to the same folder as the source .md (usually Input folder), but the png version of the argmap is not, leading to a missing image.
It's not known where the png is created. The relevant code is probably CodeBlock call to argmap2image function.
When using VSCode pandoc extensions to create a pandoc preview, the html output is added to the same folder as the source .md (usually Input folder), but the png version of the argmap is not, leading to a missing image.
It's not known where the png is created. The relevant code is probably CodeBlock call to argmap2image function.
Think it's this line: os.execute("lualatex -output-directory " .. tmpdir .. " " .. tmp .. ".tex")