Skip to content

novnan/hexo-renderer-stylus-plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-renderer-stylus-plus

This renderer plugin is forked from hexo-renderer-stylus. Add get site configuration function.

Install

Prerequisites:

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

Options

You can configure this plugin in _config.yml.

stylus:
  compress: false
  sourcemaps:
    comment: true
    inline: true
    sourceRoot: ''
    basePath: .
  • Stylus:

    • 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: .)

About

Stylus renderer for Hexo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%