2015-05-03 07:13:38 +02:00
|
|
|
# erics_nano_syntax_highlighting
|
2015-05-03 07:39:21 +02:00
|
|
|
|
|
|
|
Objective: make syntax highlighting for code look like this:
|
|
|
|
|
|
|
|
|
2015-05-03 08:23:18 +02:00
|
|
|
Example HTML:
|
|
|
|
|
|
|
|
![Imgur](http://i.imgur.com/8oAnHpX.png)
|
|
|
|
|
|
|
|
Example PHP:
|
|
|
|
|
|
|
|
![Imgur](http://i.imgur.com/Noc4WZj.png)
|
|
|
|
|
2015-05-03 08:25:31 +02:00
|
|
|
|
|
|
|
Installation instructions.
|
|
|
|
|
|
|
|
Put all of these (someextension.nanorc) files under your ~/.nano/syntax directory.
|
|
|
|
|
|
|
|
Then Put this in the ~/.nanorc
|
2015-05-03 08:23:18 +02:00
|
|
|
|
|
|
|
include ~/.nano/syntax/css.nanorc
|
|
|
|
include ~/.nano/syntax/html.nanorc
|
|
|
|
include ~/.nano/syntax/php.nanorc
|
2015-05-03 08:25:31 +02:00
|
|
|
|
|
|
|
Need an example image for the css one too.
|