App-Mowyw
view release on metacpan or search on metacpan
If you don't have Text::VimColor installed, the characters '&', '<' and '>'
will still be automatically escaped.
The only argument to 'syntax' is the language that the code is in, if you use
a value that vim doesn't know it will try to guess the language.
The standard CSS classes are:
.synComment { color: #0000FF }
.synConstant { color: #FF00FF }
.synIdentifier { color: #008B8B }
.synStatement { color: #A52A2A ; font-weight: bold }
.synPreProc { color: #A020F0 }
.synType { color: #2E8B57 ; font-weight: bold }
.synSpecial { color: #6A5ACD }
.synUnderlined { color: #000000 ; text-decoration: underline }
.synError { color: #FFFFFF ; background: #FF0000 none }
.synTodo { color: #0000FF ; background: #FFFF00 none }
(taken from Text::VimColor)
VERBATIM OUTPUT
example/source/style.css view on Meta::CPAN
}
h3 {
font-size: medium;
font-weight: normal;
}
a {
color: #2a65ad;
color: #2A65AC;
font-weight: bold;
text-decoration: none;
}
a:visited {
color: #3A7DCF;
}
a:hover {
color: #000;
border-bottom: 1px solid;
example/source/style.css view on Meta::CPAN
background: #fff;
border: solid;
border-width: 1px 2px 2px 1px;
border-color: #ccc #777 #333 #ddd;
}
/* syntax hilighting */
.synComment { color: #0000FF }
.synConstant { color: #FF00FF }
.synIdentifier { color: #008B8B }
.synStatement { color: #A52A2A ; font-weight: bold }
.synPreProc { color: #A020F0 }
.synType { color: #2E8B57 ; font-weight: bold }
.synSpecial { color: #6A5ACD }
.synUnderlined { color: #000000 ; text-decoration: underline }
.synError { color: #FFFFFF ; background: #FF0000 none }
.synTodo { color: #0000FF ; background: #FFFF00 none }
( run in 0.940 second using v1.01-cache-2.11-cpan-ceb78f64989 )