@@ -13,9 +13,21 @@ Find it on npm: <http://search.npmjs.org/#/node-sass>
...
@@ -13,9 +13,21 @@ Find it on npm: <http://search.npmjs.org/#/node-sass>
## Usage
## Usage
var sass = require('node-sass');
var sass = require('node-sass');
sass.render(scss_content, callback [, options]);
Especially, the options argument is optional. It support two attribute: `include_paths` and `output_style`, both of them are optional.
`include_paths` is an `Array`, you can add a sass import path.
`output_style` is a `String`, its value should be one of `'nested', 'expanded', 'compact', 'compressed'`.
[Important: currently the argument `output_style` has some problem which may cause the output css becomes nothing because of the libsass, so you should not use it now!]