Configuring VSCode to work with Minted (LaTeX), Conflict packages

This blog documents a latex fix for users who are using VSCode and Minted package.

Problem

I’m using VSCode to write my latex documents, and I’m using the minted package to highlight my code. However, I found that the minted package is not working. The error that I got was

1
2
3
\usepackage{enumitem}
Package minted: You must invoke LaTeX with the -shell-escape flag.
LaTeX

It works fine on overleaf. But I personally like to work on vscode for additional vscode extensions and shortcuts.

Link for reading of the fix: https://leportella.com/minted-vscode/

Thanks for reading

Author

Charlie Cheng-Jie Ji

Posted on

2023-10-31

Updated on

2023-11-12

Licensed under

Comments

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×