#
# Nano Editor syntax highlight rules for txt2tags tool
# http://nano-editor.org        http://txt2tags.sf.net
#
# Initial release by Aurelio Marinho 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="^``` *$"

