Created
September 17, 2011 19:23
-
-
Save jcolebrand/1224256 to your computer and use it in GitHub Desktop.
markdown nanorc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax "markdown" "\.txt$" | |
# Quotations | |
color cyan "^>.*" | |
# Emphasis | |
color green "_.*_" | |
color green "\*.*\*" | |
# Strong emphasis | |
color brightgreen "\*\*.*\*\*" | |
color brightgreen "__.*__" | |
# Underline headers | |
color brightblue "^====(=*)" | |
color brightblue "^----(-*)" | |
# Hash headers | |
color brightblue "^#.*" | |
# Linkified URLs (and inline html tags) | |
color brightmagenta start="<" end=">" | |
# Links | |
color brightmagenta "\[.*\]\(.*\)" | |
# Reference-style links | |
color brightmagenta "\[.*\]( )?\[.*\]" | |
# Link id's: | |
color brightmagenta "^\[.*\]:( )+.*" | |
# Code spans | |
color brightyellow "`.*`" | |
# Code blocks | |
color brightyellow "^( ).*" | |
# Inline images | |
color brightmagenta "!\[.*\]\(.*\)" | |
# Reference-style images | |
color brightmagenta "!\[.*\]\[.*\]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment