Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including hexo-renderer-stylus with all npm packages installed. Try it out:

var hexoRendererStylus = require("hexo-renderer-stylus")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

hexo-renderer-stylus v1.1.0

Stylus renderer plugin for Hexo


Build Status NPM version Coverage Status

Add support for Stylus with nib and other plugins.



  • Hexo 3: >= 0.2
  • Hexo 2: 0.1.x
$ npm install hexo-renderer-stylus --save


You can configure this plugin in _config.yml.

  compress: false
    comment: true
    inline: true
    sourceRoot: ''
    basePath: .
  plugins: 'nib'
  • compress - Compress generated CSS (default: false)
  • sourcemaps
    • comment - Adds a comment with the sourceMappingURL to the generated CSS (default: true)
    • inline - Inlines the sourcemap with full source text in base64 format (default: false)
    • sourceRoot - sourceRoot property of the generated sourcemap
    • basePath - Base path from which sourcemap and all sources are relative (default: .)
  • plugins - Stylus plugin(s) (default: nib)


RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free