PageRenderTime 130ms CodeModel.GetById 126ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/extras/nanorc

http://txt2tags.googlecode.com/
#! | 33 lines | 31 code | 2 blank | 0 comment | 0 complexity | 8f480867ed29a6c8f5bc4dee5d3a0191 MD5 | raw file
 1#
 2# Nano Editor syntax highlight rules for txt2tags tool
 3# http://nano-editor.org        http://txt2tags.org
 4#
 5# Initial release by Aurelio Jargas on Nov/2003
 6#
 7# Install: Just append this contents to your ~/.nanorc file
 8#
 9#  (((-----------------)))  If you are a Nano user and want to
10#  (( MAINTAINER WANTED ))  be the official maintainer of this
11#  (((-----------------)))  file, contact verde(a)aurelio.net.
12#
13
14syntax "txt2tags"  ".*.t2t"
15color brightwhite  "\*\*.*\*\*"
16color black,white  "//.*//"
17color brightcyan   "__.*__"
18color brightyellow "^ *[:+-] "
19color brightcyan   "^ *\|\| .*"
20color cyan         "^ *\| .*"
21color brightwhite  "^ *[_=-]{20,} *$"
22color white,red        "^ *=[^=].*[^=]=(\[.+\])?\s*$"
23color white,red       "^ *==[^=].*[^=]==(\[.+\])?\s*$"
24color white,red      "^ *===[^=].*[^=]===(\[.+\])?\s*$"
25color white,red     "^ *====[^=].*[^=]====(\[.+\])?\s*$"
26color white,red    "^ *=====[^=].*[^=]=====(\[.+\])?\s*$"
27color brightblue   "\[.*\]"
28color yellow       "^%.*"
29color brightyellow "%%date(\(.*\))?"
30color brightgreen  "``.*``"
31color brightgreen  "^``` .*"
32color brightgreen  start="^``` *$" end="^``` *$"
33