Linux系统自带的“Notepad”通常指Gedit,其本身不支持代码高亮,可通过安装插件或使用其他编辑器来实现,具体如下:
sudo apt update
sudo apt install gedit