Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8856599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:23:31+00:00 2026-06-14T14:23:31+00:00

In my nanoc site, I want to specify my styles using SCSS: p {

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:23:33+00:00Added an answer on June 14, 2026 at 2:23 pm

    This turned out to be quite simple:

    filter :sass, syntax: :scss
    

    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 its run method:

    def run(content, params={})
      options = params.dup
      # supply default options, etc...
      engine = ::Sass::Engine.new(content, options)
      # ...
      engine.render
    end
    

    Sass::Engine, in turn, has :syntax as an available option.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Sass to compile my SCSS stylesheets into a single assembled.css to reduce
Wen I run nanoc compile on my nanoc site everything builds. When I run
So I've set up a nanoc site and everything is going well, the only
I wanted to use custom stylesheet path /stylesheets/stylesheet.css to use with nanoc but nanoc
http://nanoc.stoneship.org/docs/3-getting-started/ I type nanoc create_site tutorial using cmd command line within a folder. It
Using nanoc to create a blog archive page, I'd like to display a list
I try to install nanoc http://nanoc.stoneship.org/docs/2-installation/ by typing in irb gem install nano it
I am programming using R in Linux and each time I want to edit
I am using django registration to handle um... registration on a site I'm building.
I'm trying to filter content in Nanoc 3 using their :redcarpet filter. My code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.