made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
40
gitportable/usr/share/nano/markdown.nanorc
Normal file
40
gitportable/usr/share/nano/markdown.nanorc
Normal file
@@ -0,0 +1,40 @@
|
||||
## Syntax highlighting for Markdown files.
|
||||
|
||||
## Original authors: Ryan Westlund and Benno Schulenberg
|
||||
## License: GPL version 3 or newer
|
||||
|
||||
syntax markdown "\.md$"
|
||||
comment "<!--|-->"
|
||||
|
||||
# Quoted:
|
||||
color magenta "^[ ]*>.*"
|
||||
|
||||
# List-item markers:
|
||||
color brightmagenta "^( | )* ? ? ?(\*|\+|-|[0-9]+\.)( +| )"
|
||||
|
||||
# Emphasis and strong:
|
||||
color green "\*[^* ][^*]*\*|_[^_ ][^_]*_"
|
||||
color brightgreen "\*\*[^*]+\*\*|__[^_]+__"
|
||||
|
||||
# Strikethrough:
|
||||
color red "~~[^~]+~~"
|
||||
|
||||
# Line breaks:
|
||||
color ,blue " $"
|
||||
|
||||
# URLs and links:
|
||||
color brightblue "\[[^]]+\]\([^)]+\)"
|
||||
color brightmagenta "!?\[[^]]+\]"
|
||||
|
||||
# Code snippet, indented code, and fenced code:
|
||||
color brightcyan "`[^`]+`"
|
||||
color brightcyan "^( | )+ *([^*+0-9> -]|[*+-]\S|[0-9][^.]).*"
|
||||
color brightcyan start="```" end="```$"
|
||||
|
||||
# Headings and the underlining of headings:
|
||||
color brightyellow "^#.*"
|
||||
color brightyellow "^(=+|-+)$"
|
||||
|
||||
# HTML tags and comments:
|
||||
color cyan "<[^>]+>"
|
||||
color cyan start="<!--" end="-->"
|
||||
Reference in New Issue
Block a user