JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 594
  • Score
    100M100P100Q103385F
  • License MIT

Less renderer plugin for Hexo

Package Exports

  • hexo-renderer-less
  • hexo-renderer-less/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-renderer-less) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Less renderer

Build Status NPM version Coverage Status

Add support for Less.

Install

$ npm install hexo-renderer-less --save

Configure

In your theme configuration,

# themes/yourtheme/_config.yml
less:
  paths: []
  options:
  • paths: Array of include paths.
    • e.g. to include Bower Bootstrap, ['bower_components/bootstrap/less']
    • globbing is also supported, ['bower_components/bootstrap/**']
  • options: Less.js options.
    • Example:
    less:
      options:
        globalVars:
          var1: 'some value'