0.3.1 • Published 3 years ago

hexo-renderer-ruby-sass v0.3.1

Weekly downloads
9
License
MIT
Repository
github
Last release
3 years ago

Hexo Renderer for Ruby Sass with Compass Support

Sass renderer for Hexo that uses Ruby's Sass for indented syntax (.sass) and Compass support.

Options

You can configure this plugin in _config.yml.

ruby_sass:
  executable: /path/to/sass
  arguments: [--compass, --line-numbers]

By default executable is sass and arguments is the empty list.

Helpful Code for Similar Cases

https://github.com/knksmith57/hexo-renderer-sass/blob/master/index.js

This is the node-sass implementation of the hexo plugin so probably a good starting point.

https://github.com/imothee/wintersmith-sass/blob/master/plugin.coffee

Wintersmith (another node based static site generator), has a similar plugin architecture to Hexo and there is already this plugin written which uses the npm module child_process to call sass.

Dependencies

Note that you must have Ruby and Sass installed already.

Node-Sass

If you don't need Compass or indented syntax support then just use this node-sass plugin for Hexo as it's probably faster.

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

4 years ago

0.0.2

10 years ago