steenhulthin / reStructuredText_NPP

Provides syntax higlighting for reStructuredText for Notepad++ through a user defined language file.
MIT License
59 stars 7 forks source link

How to make code block text the same color #7

Open LyleLee opened 4 years ago

LyleLee commented 4 years ago

I would like to have code block after :: showed as a simple same color. But UDL color [root@ubuntu:] into yellow and number like 1500 into blue. Is it possible to make it happen?

.. code-block:: console

   [root@ubuntu:]~# netstat -i
   Kernel Interface table
   Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR Flg
   eth0       1500 0    797518      0      0 0        677533      0      0      0 BMRU
   lo        65536 0       340      0      0 0           340      0      0      0 LRU
   teredo     1280 0         8      0      0 0            63      0      0      0 MOPRU
   root@ubuntu:~#

::

   netstat -ie
   #like ifconfig