We highlight the code area by redefining the ∖nwbegincode and ∖nwendcode commands of the noweb package. These commands are generated by NOWEAVE at the begin and end of each code part.
The background color of a code chunk can be configured via the commands ∖backgroundColor{code}{...} at a local customization (see Section 24.12).