23 lines
350 B
Plaintext
23 lines
350 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 brightred "^\*"
|
|
|
|
# gmo
|
|
# wikilinks
|
|
color yellow "\{(\w| )+\}"
|
|
# htmlonly
|
|
color magenta "^\+.+$"
|
|
# gemtextonly
|
|
color red "^&.+$"
|