To highlight a block of code in Notepad++, please do the following steps
- Select the required text.
- Right click to display the context menu
- Choose
Style tokenand select any of the five choices available ( styles fromUsing 1st styletousing 5th style). Each is of different colors.If you want yellow color chooseusing 3rd style.
If you want to create your own style you can use Style Configurator under Settings menu.