I wanted to put some Python code in my text so I found a custom made Python highlighting file from here. It works great and I even changed most colors etc. but I have a problem with the escape character (
$). Some code I need in my report is a template code which means I use Python for reference plus other commands. An example:
In this code the
$symbols declare Python references but the problem is that the
$are 3 so the rest of my text from there on becomes green like in escape mode. I tried
\$but this custom file is like verbatim and everything you type is shown as normal. It should ore look like this.