23 lines
356 B
Plaintext
23 lines
356 B
Plaintext
|
# include this file in your ~/.nanorc:
|
||
|
# include "path/to/gmo.nanorc"
|
||
|
|
||
|
syntax "gmo" "\.gm[oi]$"
|
||
|
|
||
|
# gemtext
|
||
|
# headers
|
||
|
color cyan "^#{1,3}.+$"
|
||
|
# links
|
||
|
color green "^=>.+$"
|
||
|
# pre
|
||
|
color blue start="```" end="```"
|
||
|
# list
|
||
|
color bold,black "^\*"
|
||
|
|
||
|
# gmo
|
||
|
# wikilinks
|
||
|
color yellow "\{(\w| )+\}"
|
||
|
# htmlonly
|
||
|
color magenta "^\+.+$"
|
||
|
# gemtextonly
|
||
|
color lightred "^&.+$"
|