mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +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="^```"
|