So, to make it more pleasant to write gmi files in shell, I created a very simple "gemini.nanorc" file for text highlighting gemini files. I figure I'd just paste the file's contents and instructions here: Just open a new file in nayno (I assume that's what you are using if you are going to use this feature), paste all the text between the two ``` lines below into the file, and save as "gemini.nanorc", either in /usr/local/share/nano (if you are admin), ~/share/nano or whatever is right for your installation. Then, again, depending on your installation, create or append to your existing /etc/nanorc or ~/.nanorc a line like the following: include "/etc/nanorc/gemini.nanorc" Hope it's useful for somebody! Here's the contents: ``` ## Here is an example for the gemini web scheme's gmi file format syntax gemini "\.(gmi|GMI)$" # links color magenta "^=>.*$"u # preformatted color yellow start="^```* ?$" end="^```* ?$" #headings color cyan "^\#+.*$" #bullets color green "^\*+.*$" ``` -- peteyboy at sdf.org SDF Public Access UNIX System - http://sdf.org
---