2021-11-25 23:32:44 +00:00
|
|
|
# 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
|
2022-04-22 14:10:59 +00:00
|
|
|
color brightred "^\*"
|
2021-11-25 23:32:44 +00:00
|
|
|
|
|
|
|
# gmo
|
|
|
|
# wikilinks
|
|
|
|
color yellow "\{(\w| )+\}"
|
|
|
|
# htmlonly
|
|
|
|
color magenta "^\+.+$"
|
|
|
|
# gemtextonly
|
2022-04-20 23:19:06 +00:00
|
|
|
color red "^&.+$"
|