Fan of nano? Like having pretty colors to see where you messed up? Of course we do! Much like many of us, I use nano. Its quick, easy, and readily available. However, I like to see the highlighting of my language. As many of you know, there are “nanorc” files, that will tell nano how to handle language highlight.
They are usually located in /usr/share/nano/ (at least in ubuntu); and you can make your own under your home directory with a .nanorc file. I can post about that later…
For now let get markdown working in nano!
You will need to create a file called markdown.nanorc by doing the following:
sudo touch /usr/share/nano/markdown.nanorc
Now that the file is created, we just need to populate it with the following below text:
(Alternatively, you can run the following to do it for you.)
sudo wget -O /usr/share/nano/markdown.nanorc goo.gl/AZthpr