Commit b0347930 by Brett Wilkins

Update README.md for clarity of renderSync

parent e714cebe
...@@ -18,7 +18,7 @@ Find it on npm: <https://npmjs.org/package/node-sass> ...@@ -18,7 +18,7 @@ Find it on npm: <https://npmjs.org/package/node-sass>
var sass = require('node-sass'); var sass = require('node-sass');
sass.render(scss_content, callback [, options]); sass.render(scss_content, callback [, options]);
// OR // OR
var css = sass.renderSync(scss_content); var css = sass.renderSync(scss_content [, options]);
``` ```
Especially, the options argument is optional. It support two attributes: `includePaths` and `outputStyle`, both of which are optional. Especially, the options argument is optional. It support two attributes: `includePaths` and `outputStyle`, both of which are optional.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment