Take the tour ×  I use the minted environment in order to insert
source code in a document. Contrary to lstlistings or verbatim
environment, Texmaker does interpret the contains of minted
environment.  For example if I have a $ inside a bash script all
lines below will be green because Texmaker considers that an
equation began inside the minted environment.  Does it exist a
way to configure Texmaker to do with minted as it does with
listings ?  share|improve this question add comment  2 Answers
I think the short answer is 'no', at least not at present.
Looking through the interface, while you can adjust the colours
used for different environments, you can't alter how these are
defined. There is also 'syntax.txt' or similar file to allow
adjustment outside of the GUI, either. Thus the only way to
address this issue seems to be to make a feature request to the
Texmaker maintainers.  share|improve this answer add comment
Not a straightforward solution but a workaround in TeXmaker is
to add %$ to balance the $