I am using the VSCode Extension LaTeX Workshop v8.4.2 in Docker with the tianon/latex
image.
I am trying to use the minted package for some source code highlighting, however during compilation I'll get a build error:
I did some research an apparently there is a file where I can add the --shell-escape
flag, I was not able to find that file tho.
Can someone guide me on how I can fix the error?
Or, alternatively, is there a better docker image that already has all these packages included, which might save me some headache?
EDIT: I got rid of the --shell-escape
flag error by modifying the settings.json file as described here.
However I still can't seem to properly install pygmentize, the log still tells me it is not installed.
I have it installed on my local machine, however I assume it has to be installed in the docker container somehow. How can I do this?