mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 20:35:53 +01:00
22 lines
401 B
Plaintext
22 lines
401 B
Plaintext
|
## syntax highlighting for gemini:// markup language
|
||
|
|
||
|
syntax gemini "\.(gemini|gmi)$"
|
||
|
|
||
|
# Heading levels
|
||
|
color brightgreen "^#.*"
|
||
|
color brightcyan "^##.*"
|
||
|
color brightmagenta "^###.*"
|
||
|
|
||
|
# Link Text
|
||
|
color brightred "^=>\s*\S+\s+.*"
|
||
|
# Link URL
|
||
|
color green "^=>\s*\S+"
|
||
|
# Link Prefix
|
||
|
color yellow "^=>"
|
||
|
|
||
|
# Bullet Lists
|
||
|
color brightblue "^\*.*"
|
||
|
|
||
|
# Monospaced Blocks
|
||
|
color white,black start="^```" end="^```"
|