Open YtvwlD opened 3 years ago
Could check if adding minted
directly here works? (so replace lstlisting
with minted
in your local latex.cson
)
PS: You can directly edit your package files by going to settings>packages>Atom-Latex>View Code, and relaunch atom with ctrl+shift+f5
It works to some extend. But it requires me to write \begin{minted} % Python
instead of \begin{minted}{Python}
, so minted doesn't get the language anymore. (And it also only works for a few languages, but that's the same as with lstlistings.)
@YtvwlD if you are up to test and open up a PR, you could try porting (well copy pasting) https://github.com/yudai-nkt/language-tex/pull/5
Code inside a
lstlisting
block is highlighted as code. It would be nice if this would work forminted
as well.