see in the menu Options/Preferences
user inferface preferences
user interface
syntax highlightning preferences
syntax highlighting, also see above
external programs preferences
integrating external commands and browsers
If you want to use for example a sed command as a filter, you can add it like this to the external commands and filters (in the preferences dialog):
sed -e 'some sed command' > '%f' < '%s'