mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Add support for Gophermap and Gemini markdown files
This commit is contained in:
parent
913f6d75e7
commit
6cbe4a99af
2 changed files with 66 additions and 0 deletions
21
gemini.nanorc
Normal file
21
gemini.nanorc
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
## 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="^```"
|
||||
Loading…
Add table
Add a link
Reference in a new issue