/extras/nanorc
http://txt2tags.googlecode.com/ · #! · 33 lines · 31 code · 2 blank · 0 comment · 0 complexity · 8f480867ed29a6c8f5bc4dee5d3a0191 MD5 · raw file
- #
- # Nano Editor syntax highlight rules for txt2tags tool
- # http://nano-editor.org http://txt2tags.org
- #
- # Initial release by Aurelio Jargas on Nov/2003
- #
- # Install: Just append this contents to your ~/.nanorc file
- #
- # (((-----------------))) If you are a Nano user and want to
- # (( MAINTAINER WANTED )) be the official maintainer of this
- # (((-----------------))) file, contact verde(a)aurelio.net.
- #
- syntax "txt2tags" ".*.t2t"
- color brightwhite "\*\*.*\*\*"
- color black,white "//.*//"
- color brightcyan "__.*__"
- color brightyellow "^ *[:+-] "
- color brightcyan "^ *\|\| .*"
- color cyan "^ *\| .*"
- color brightwhite "^ *[_=-]{20,} *$"
- color white,red "^ *=[^=].*[^=]=(\[.+\])?\s*$"
- color white,red "^ *==[^=].*[^=]==(\[.+\])?\s*$"
- color white,red "^ *===[^=].*[^=]===(\[.+\])?\s*$"
- color white,red "^ *====[^=].*[^=]====(\[.+\])?\s*$"
- color white,red "^ *=====[^=].*[^=]=====(\[.+\])?\s*$"
- color brightblue "\[.*\]"
- color yellow "^%.*"
- color brightyellow "%%date(\(.*\))?"
- color brightgreen "``.*``"
- color brightgreen "^``` .*"
- color brightgreen start="^``` *$" end="^``` *$"