This project has given up GitHub. (See Software Freedom Conservancy's Give Up GitHub site for details.)
You can now find this project at https://codeberg.org/lejun/wiki.nanorc instead.
Any use of this project's code by GitHub Copilot, past or present, is done without our permission. We do not consent to GitHub's use of this project's code in Copilot.
Join us; you can give up GitHub too!
Quick and dirty nanorc file for Wikitext support on GNU nano text editor.
- Copy the file
- Put it in the
~/.nano/
directory - Add it to nano’s included files by adding
include ~/.nano/cooklang.nanorc
into~/.nanorc
(User specific) or/etc/nanorc
(System wide).
This file aims to reproduce the "official" built-in wiki editor’s syntax highlight. Although officially documented by nanorc my terminal (xfce4-terminal 0.8.9.1) limitations seem to prevent the use of colours and emphasis. Those parts are commented out, so that you can uncomment them and test if your terminal support them.