In my nanoc site, I want to specify my styles using SCSS:
p {
em {
color: red;
}
}
... not SASS:
p
em
color: red
But if I try using SCSS, I get a compile error from the SASS filter. How do I get it to use SCSS?
In my nanoc site, I want to specify my styles using SCSS:
p {
em {
color: red;
}
}
... not SASS:
p
em
color: red
But if I try using SCSS, I get a compile error from the SASS filter. How do I get it to use SCSS?
This turned out to be quite simple:
Filters in nanoc seem to follow the pattern of taking any options they're given and passing them along to whatever object actually does the work. For instance,
Nanoc::Filters::Sass
does this in itsrun
method:Sass::Engine
, in turn, has:syntax
as an available option.