Back to the extension listing.
Webgen::ContentProcessor::Scss
Summary
As short name for the content processor (used, for example, in the pipeline
option of a block in a
file in Webgen Page Format) one of the following can be
used: scss
.
Description
This processor converts the content, which is assumed to be in the Sassy CSS language, to valid CSS using the Haml library. This is basically a syntax based on CSS but additionally using features from Sass. For detailed information about Sass and Sassy CSS have a look at the Haml Homepage!
This extension is only available if you have installed the haml library. The preferred way to do this is via Rubygems:
gem install haml
Example
Here is a short sample of a text in the Sassy CSS language:
#main {
width: 90%;
p {
border-style: solid;
border-color: #00f;
a {
font-weight: bold;
}
a:hover {
:ext-decoration: underline;
}
}
}
Back to the extension listing.