According to my prior question here I'm trying to highlight code in LaTeX and the minted package is not working properly. Now I wanted to ask if there is a possibility to do something like the following:
\newCommand\CustomHighlight{asdf=blue, text=red, test=green}
then use it like this \CustomHighlight{asdf text Test} to get the following result:

The syntax highlighting shouldn't be case-sensitive.
listingsit is pretty easy by using thekeywordsparameter (or defining a new language) – Bordaigorl Nov 14 '16 at 21:14herelink when scanning questions, missed that, I added a (non) answer. I'll delete a few of the comments above, save the system getting cross with the length of the thread:-) – David Carlisle Nov 14 '16 at 22:30