hexo-renderer-dartsass-next

0.1.0 • Public • Published

Sass renderer plugin for Hexo using Dart Sass

npm version

Install

$ npm install hexo-renderer-dartsass-next

Config

Anything specified under the key sass in your _config.yml files will be passed directly to the sass.render() call. Check out the Dart Sass API docs for all available settings.

_config.yml

This project uses the Dart Sass Compile

sass:
  style: expanded # "expanded" or "compressed"

For more options, seeDart Sass Compile Options

Inheritance

The config object passed to dart sass is constructed by merging properties from the following locations using a least-specific-first order:

  1. Theme specific _config.yml
  2. Blog root _config.yml
  3. Since file is the path to be rendered, config is ignored. The same applies to data.

Thanks

This plugin was created with reference to KentarouTakeda/hexo-renderer-dartsass. Thank you for publishing the nice software.

/hexo-renderer-dartsass-next/

    Package Sidebar

    Install

    npm i hexo-renderer-dartsass-next

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    10.6 kB

    Total Files

    5

    Last publish

    Collaborators

    • ale0720