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/print.css view on Meta::CPAN
* {
float: none;
border: none;
background: #fff;
}
h2 {
font-weight: normal;
}
body {
font: medium/1.8em "Trebuchet MS", Verdana, Helvetica, sans-serif;
}
#nav-page, #nav-main, #nav-secondary {
display: none;
}
example/source/style.css view on Meta::CPAN
body {
font: small/1.8em "Trebuchet MS", Verdana, Helvetica, sans-serif;
color: #222;
margin: 0;
padding: 0 1em;
background: #5B99D7 url(images/bg.png);
}
h1 {
font-size: 3em;
font-weight: normal;
line-height: 1.3em;
}
h2 {
font-size: large;
font-weight: normal;
}
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
#header {
margin: 0 0 1em 0;
padding: 1em 3em;
background: #fff;
border: solid;
border-width: 0 2px 2px 1px;
border-color: #ccc #777 #333 #ddd;
}
#header p {
font-size: large;
font-weight: light;
}
#nav-page {
position: absolute;
left: -5000px;
}
#content-main {
float: right;
width: 60%;
example/source/style.css view on Meta::CPAN
}
#nav-secondary li a {
padding-left: 20px;
border: none;
background: url(images/document.gif) 0.2em no-repeat;
}
#footer {
clear: both;
position: relative;
font-size: 0.9em;
text-align: center;
margin: 1em 0 0 0;
padding: 1em 1em 1.5em;
background: #fff;
border: solid;
border-width: 1px 2px 0 1px;
border-color: #ccc #777 #333 #ddd;
}
#content-main, #nav-main, #nav-secondary{
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.830 second using v1.01-cache-2.11-cpan-5735350b133 )